This commit is contained in:
2021-04-14 14:56:58 +08:00
parent e9c620c7f4
commit e142226d8d
+1
View File
@@ -28,6 +28,7 @@ class Producer extends Component
$redis = Snowflake::app()->getRedis();
$name = $crontab->getName();
var_dump($name);
$redis->set('crontab:' . $name, swoole_serialize($crontab));