This commit is contained in:
freek 2018-12-03 15:12:33 +01:00
parent ea6db1b336
commit 6cd82e7300
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class StartWebSocketServer extends Command
]); ]);
app()->singleton('websockets.statisticslogger', function() use ($client) { app()->singleton('websockets.statisticslogger', function() use ($client) {
return new StatisticsLogger(app(ChannelManager::class, $client)); return new StatisticsLogger(app(ChannelManager::class), $client);
}); });
$this->loop->addPeriodicTimer(60, function() { $this->loop->addPeriodicTimer(60, function() {