請求一下,加入隊列一次,為什么有時候會執行多次了。然后又用延時了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 ? '綁定手機' : '手機登錄'}}