This commit is contained in:
2021-04-12 11:05:57 +08:00
parent 996ff50e99
commit c62be31e6e
4 changed files with 43 additions and 38 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class Producer extends Component
{
$redis = Snowflake::app()->getRedis();
$name = md5($crontab->getName());
$name = $crontab->getName();
$redis->set('crontab:' . $name, swoole_serialize($crontab));