This commit is contained in:
2021-03-29 15:14:17 +08:00
parent b1b42e053d
commit 345ead8ba4
2 changed files with 17 additions and 8 deletions
+4 -5
View File
@@ -19,11 +19,10 @@ class Producer extends Component
const CRONTAB_KEY = 'system:crontab';
/**
* @param Crontab $crontab
* @param $executeTime
* @throws Exception
*/
/**
* @param Crontab $crontab
* @throws Exception
*/
public function dispatch(Crontab $crontab)
{
$redis = Snowflake::app()->getRedis();