Skip to content

Commit 8c61e50

Browse files
committed
Introduce minimum wait time
1 parent 02a8e6c commit 8c61e50

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/overmind/effects/live

1 file changed

+1
-1
lines changed

packages/app/src/app/overmind/effects/live/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default new (class Live {
9090
// the server, so we manually wait and try to connect;
9191
_socket.disconnect();
9292

93-
const waitTime = 5000 * Math.random();
93+
const waitTime = 500 + 5000 * Math.random();
9494

9595
setTimeout(() => {
9696
_socket.connect();

0 commit comments

Comments
 (0)