This commit is contained in:
as2252258@163.com
2021-04-12 03:11:56 +08:00
parent 574c29fdaf
commit 30cfcd6c0f
+1
View File
@@ -62,6 +62,7 @@ class Zookeeper extends Process
*/
private function dispatch($server, $redis, $setting, $value)
{
var_dump($value);
$server->sendMessage(swoole_serialize([
'action' => 'crontab', 'handler' => swoole_unserialize($redis->get('crontab:' . $value))
]), random_int(0, $setting - 1));