This commit is contained in:
2021-04-28 11:57:49 +08:00
parent 84abde9c23
commit efa8e76011
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class OnPipeMessage extends Callback
throw new Exception('unknown handler');
}
/** @var Crontab $handler */
$handler = swoole_unserialize($message['handler']);
$handler = $message['handler'];
defer(function () use ($handler) {
if ($handler->isRecover() !== 999) {
return;