소스 검색

更新刷题

郑晓宇 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');
         }