File tree Expand file tree Collapse file tree 9 files changed +9
-0
lines changed Expand file tree Collapse file tree 9 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 99
1010$ http_worker = new Worker ('http://0.0.0.0:8080 ' );
1111$ http_worker ->count = (int ) shell_exec ('nproc ' ) * 4 ;
12+ $ http_worker ->reusePort = true ;
1213$ http_worker ->name = 'AdapterMan-CakePHP ' ;
1314
1415$ http_worker ->onWorkerStart = static function () {
Original file line number Diff line number Diff line change 99
1010$ http_worker = new Worker ('http://0.0.0.0:8080 ' );
1111$ http_worker ->count = (int ) shell_exec ('nproc ' ) * 4 ;
12+ $ http_worker ->reusePort = true ;
1213$ http_worker ->name = 'AdapterMan-Flight ' ;
1314
1415$ http_worker ->onWorkerStart = static function () {
Original file line number Diff line number Diff line change 99
1010$ http_worker = new Worker ('http://0.0.0.0:8080 ' );
1111$ http_worker ->count = (int ) shell_exec ('nproc ' ) * 4 ;
12+ $ http_worker ->reusePort = true ;
1213$ http_worker ->name = 'KumbiaPHP ' ;
1314
1415$ http_worker ->onWorkerStart = static function () {
Original file line number Diff line number Diff line change 1010
1111$ http_worker = new Worker ('http://0.0.0.0:8080 ' );
1212$ http_worker ->count = (int ) shell_exec ('nproc ' ) * 4 ;
13+ $ http_worker ->reusePort = true ;
1314$ http_worker ->name = 'AdapterMan-Laravel ' ;
1415$ http_worker ->onWorkerStart = static function () {
1516 Header::$ date = gmdate (DATE_RFC7231 );
Original file line number Diff line number Diff line change 1010
1111$ http_worker = new Worker ('http://0.0.0.0:8080 ' );
1212$ http_worker ->count = (int ) shell_exec ('nproc ' ) * 4 ;
13+ $ http_worker ->reusePort = true ;
1314$ http_worker ->name = 'AdapterMan-Leaf ' ;
1415
1516$ http_worker ->onWorkerStart = static function () {
Original file line number Diff line number Diff line change 1010// WebServer
1111$ web = new Worker ("http://0.0.0.0:8080 " );
1212$ web ->count = (int ) shell_exec ('nproc ' ) * 4 ;
13+ $ web ->reusePort = true ;
1314$ web ->name = 'workerman ' ;
1415
1516define ('WEBROOT ' , '/php/ ' );
Original file line number Diff line number Diff line change 1010
1111$ http_worker = new Worker ('http://0.0.0.0:8080 ' );
1212$ http_worker ->count = (int ) shell_exec ('nproc ' ) * 4 ;
13+ $ http_worker ->reusePort = true ;
1314$ http_worker ->name = 'AdapterMan-Slim ' ;
1415
1516$ http_worker ->onWorkerStart = static function () {
Original file line number Diff line number Diff line change 1010
1111$ http_worker = new Worker ('http://0.0.0.0:8080 ' );
1212$ http_worker ->count = (int ) shell_exec ('nproc ' ) * 4 ;
13+ $ http_worker ->reusePort = true ;
1314$ http_worker ->name = 'AdapterMan-Symfony ' ;
1415
1516$ http_worker ->onWorkerStart = static function () {
Original file line number Diff line number Diff line change 1111
1212$ http_worker = new Worker ('http://0.0.0.0:8080 ' );
1313$ http_worker ->count = (int ) shell_exec ('nproc ' ) * 4 ;
14+ $ http_worker ->reusePort = true ;
1415$ http_worker ->name = 'AdapterMan-Yii2 ' ;
1516
1617$ http_worker ->onWorkerStart = static function () {
You can’t perform that action at this time.
0 commit comments