This commit is contained in:
2021-04-16 15:43:50 +08:00
parent 167114e150
commit d99d0de646
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class Zookeeper extends Process
*/
public function onHandler(\Swoole\Process $process): void
{
/** @var \Snowflake\Crontab\Producer $crontab */
/** @var Producer $crontab */
$crontab = Snowflake::app()->get('crontab');
$crontab->clearAll();
if (Snowflake::getPlatform()->isLinux()) {