stanley-king 3 éve
szülő
commit
a2c16232d6
1 módosított fájl, 3 hozzáadás és 1 törlés
  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;