wip
This commit is contained in:
parent
b1f3b4661f
commit
08035dd5d3
|
|
@ -25,6 +25,7 @@
|
||||||
"php": "^7.1",
|
"php": "^7.1",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"cboden/ratchet": "^0.4.1",
|
"cboden/ratchet": "^0.4.1",
|
||||||
|
"clue/buzz-react": "^2.5",
|
||||||
"illuminate/broadcasting": "5.7.*",
|
"illuminate/broadcasting": "5.7.*",
|
||||||
"illuminate/console": "5.7.*",
|
"illuminate/console": "5.7.*",
|
||||||
"illuminate/http": "5.7.*",
|
"illuminate/http": "5.7.*",
|
||||||
|
|
@ -32,8 +33,7 @@
|
||||||
"illuminate/support": "5.7.*",
|
"illuminate/support": "5.7.*",
|
||||||
"pusher/pusher-php-server": "~3.0",
|
"pusher/pusher-php-server": "~3.0",
|
||||||
"symfony/http-kernel": "~4.0",
|
"symfony/http-kernel": "~4.0",
|
||||||
"symfony/psr-http-message-bridge": "^1.1",
|
"symfony/psr-http-message-bridge": "^1.1"
|
||||||
"wyrihaximus/react-guzzle-psr7": "^2.1"
|
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"mockery/mockery": "^1.2",
|
"mockery/mockery": "^1.2",
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ class StartWebSocketServer extends Command
|
||||||
|
|
||||||
$this->loop->addPeriodicTimer(5, function() {
|
$this->loop->addPeriodicTimer(5, function() {
|
||||||
echo 'saving stats...';
|
echo 'saving stats...';
|
||||||
StatisticsLogger::save($this->loop);
|
StatisticsLogger::save();
|
||||||
});
|
});
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue