|
@@ -117,12 +117,17 @@ function ratio_update(&$quit)
|
|
$cur_min = $next_min;
|
|
$cur_min = $next_min;
|
|
break;
|
|
break;
|
|
} else {
|
|
} else {
|
|
|
|
+ Log::record("ratio_update start sleep",Log::DEBUG);
|
|
Swoole\Coroutine::sleep(1);
|
|
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);
|
|
Log::record("ratio_update quit =". strbool($quit),Log::DEBUG);
|