Skip to content

Commit

Permalink
Fix joining interval
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad committed Nov 1, 2023
1 parent 8a33bd8 commit 2947862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/components/rooms/room/join/JoinCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function JoinCard() {
}

roomStatusAPI.mutate(data);
const interval = setInterval(() => roomStatusAPI.mutate(data), 5000);
const interval = setInterval(() => roomStatusAPI.mutate(data), 30000);
setJoinInterval(interval);
};
const reset = () => { setHasStarted(false); };// Reset pipeline;
Expand Down

0 comments on commit 2947862

Please sign in to comment.