stanley-king 3 年之前
父節點
當前提交
a2c16232d6
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      rdispatcher/coall.php

+ 3 - 1
rdispatcher/coall.php

@@ -127,9 +127,11 @@ for ($i = 0; $i < $process_count;$i++)
 {
     $process = new Swoole\Process(function(Swoole\Process $worker)
     {
+        Log::record("Swoole::Process init",Log::DEBUG);
         Base::run_util();
-        refill\RefillFactory::instance();
+        refill\RefillFactory::instance()->load();
         set_error_handler('handle_error');
+        Log::record("Swoole::Process init success",Log::DEBUG);
 
         $sub_quit = false;
         $sub_redis = null;