This commit is contained in:
2021-04-14 14:41:34 +08:00
parent 201fa88702
commit 559de7b223
+1
View File
@@ -65,6 +65,7 @@ class Zookeeper extends Process
*/
private function dispatch($server, Redis|\Redis $redis, int $setting, $value)
{
var_export($value);
$server->sendMessage(swoole_serialize([
'action' => 'crontab', 'handler' => swoole_unserialize($redis->get('crontab:' . $value))
]), random_int(0, $setting - 1));