Skip to content

Commit 2801d45

Browse files
author
Aaron Scherer
committed
Merge pull request #15 from therealmikz/react
Remove leftover that could trigger an error
2 parents b1eebdd + e321ada commit 2801d45

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/Uecode/Bundle/DaemonBundle/Command/ReactCommand.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ abstract protected function prepareLoop(EventLoop\LoopInterface $loop);
3030
private function initLoop()
3131
{
3232
$this->eventLoop = EventLoop\Factory::create();
33-
$this->eventLoop->addPeriodicTimer(
34-
0.1,
35-
function () {
36-
$this->runEvents(self::EVENT_CYCLE_START);
37-
$this->daemonLogic();
38-
$this->runEvents(self::EVENT_CYCLE_END);
39-
}
40-
);
4133
$this->prepareLoop($this->eventLoop);
4234

4335
return $this->eventLoop;

0 commit comments

Comments
 (0)