stanley-king 3 年 前
コミット
3721cc7cb7
1 ファイル変更8 行追加3 行削除
  1. 8 3
      rdispatcher/codispatcher.php

+ 8 - 3
rdispatcher/codispatcher.php

@@ -117,12 +117,17 @@ function ratio_update(&$quit)
                 $cur_min = $next_min;
                 break;
             } else {
+                Log::record("ratio_update start sleep",Log::DEBUG);
                 Swoole\Coroutine::sleep(1);
+                Log::record("ratio_update end sleep",Log::DEBUG);
             }
         }
-        if(!$quit) {
-            refill\RefillFactory::instance()->UpdateRatio();
-        }
+
+
+
+//        if(!$quit) {
+//            refill\RefillFactory::instance()->UpdateRatio();
+//        }
     }
 
     Log::record("ratio_update quit =". strbool($quit),Log::DEBUG);