瀏覽代碼

更新刷题

郑晓宇 6 年之前
父節點
當前提交
36cdd36911
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Jobs/Settlement.php

+ 1 - 0
app/Jobs/Settlement.php

@@ -171,6 +171,7 @@ class Settlement implements ShouldQueue
             $message['info'] = $info;
             $message['type'] = 'round_end';
             Gateway::sendToGroup($this->room_id, json_encode($message));
+            sleep(3);
             //执行发题
             Distribute::dispatch($this->room_id)->onQueue('distribute');
         }