改名
This commit is contained in:
@@ -68,7 +68,9 @@ class Zookeeper extends Process
|
|||||||
try {
|
try {
|
||||||
$params['action'] = 'crontab';
|
$params['action'] = 'crontab';
|
||||||
$params['handler'] = $redis->get('crontab:' . $value);
|
$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) {
|
} catch (\Throwable $exception) {
|
||||||
logger()->addError($exception);
|
logger()->addError($exception);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user