请求一下,加入队列一次,为什么有时候会执行多次了。然后又用延时了5秒试了一下,redis里面也只有一条数据,但是还是执行多遍。
TestMulQueueJob::dispatch('storeSaleStart', []);
TestMulQueueJob::dispatchSece(5,'storeSaleStart', []);

请求一下,加入队列一次,为什么有时候会执行多次了。然后又用延时了5秒试了一下,redis里面也只有一条数据,但是还是执行多遍。
TestMulQueueJob::dispatch('storeSaleStart', []);
TestMulQueueJob::dispatchSece(5,'storeSaleStart', []);
Snowman 最后编辑于2022-10-09 18:07:55
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}} LV.{{ item.user_info.bbs_level }}
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}{{itemf.name}}
相关推荐
快速安全登录
微信登录/注册
{{ bind_phone ? '绑定手机' : '手机登录'}}