vali %!s(int64=6) %!d(string=hai) anos
pai
achega
cf5e72bba6
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      configs/configs.sample.php

+ 3 - 3
configs/configs.sample.php

@@ -52,13 +52,13 @@ $tmp_config = [
             'port' => '11000',
             'maxUsers' => 50000,
             'sets' => [
-                'worker_num' => 2,
+                'worker_num' => 1,
                 'daemonize' => true,
                 'max_request' => 500,
                 'task_enable_coroutine' => true,
-                'dispatch_mode' => 2,
+                'dispatch_mode' => 3,
                 'debug_mode' => 1,
-                'task_worker_num' => 5,
+                'task_worker_num' => 1,
                 'log_file' => '../logs/RedisTosql_' . date("Ymd") . '.log',
             ],
         ],