|
@@ -10,7 +10,8 @@ Adapterman::init();
|
|
|
|
|
|
$http_worker = new Worker('http://0.0.0.0:8080');
|
|
$http_worker = new Worker('http://0.0.0.0:8080');
|
|
$http_worker->count = (int) shell_exec('nproc') * 4;
|
|
$http_worker->count = (int) shell_exec('nproc') * 4;
|
|
-$http_worker->name = 'AdapterMan-Laravel';
|
|
|
|
|
|
+$http_worker->name = 'AdapterMan-Symfony';
|
|
|
|
+
|
|
$http_worker->onWorkerStart = function () {
|
|
$http_worker->onWorkerStart = function () {
|
|
Header::$date = gmdate('D, d M Y H:i:s').' GMT';
|
|
Header::$date = gmdate('D, d M Y H:i:s').' GMT';
|
|
Timer::add(1, function() {
|
|
Timer::add(1, function() {
|