This commit is contained in:
2021-04-15 18:44:50 +08:00
parent 7c04132110
commit 5947b98b53
+3 -1
View File
@@ -68,7 +68,9 @@ class Zookeeper extends Process
try {
$params['action'] = 'crontab';
$params['handler'] = $redis->get('crontab:' . $value);
$server->sendMessage($params, random_int(0, $setting - 1));
$redis->del('crontab:' . $value);
$result = $server->sendMessage($params, random_int(0, $setting - 1));
var_dump($result);
} catch (\Throwable $exception) {
logger()->addError($exception);
}