郑晓宇 %!s(int64=6) %!d(string=hai) anos
pai
achega
36cdd36911
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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');
         }