wip
This commit is contained in:
parent
ea6db1b336
commit
6cd82e7300
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue