This commit is contained in:
as2252258@163.com
2021-04-16 01:09:27 +08:00
parent cf99687400
commit 47f9c9d4a2
+1 -2
View File
@@ -64,8 +64,7 @@ class Zookeeper extends Process
{ {
try { try {
$params['action'] = 'crontab'; $params['action'] = 'crontab';
if (($handler = $redis->get('crontab:' . $value)) === false) { if (empty($handler = $redis->get('crontab:' . $value))) {
var_dump($handler);
return; return;
} }
$params['handler'] = swoole_unserialize($handler); $params['handler'] = swoole_unserialize($handler);