mirror of
https://github.com/suitenumerique/meet.git
synced 2026-09-05 23:26:02 +00:00
fixup! wip to be discuss
This commit is contained in:
@@ -34,9 +34,8 @@ export const LobbyProvider = () => {
|
||||
refetchOnReconnect: false,
|
||||
refetchInterval: (query) => {
|
||||
if (!query.state.data?.participants?.length) return false
|
||||
if (isParticipantsOpen) return (
|
||||
query.state.error ? POLL_INTERVAL_MS * 3 : POLL_INTERVAL_MS
|
||||
)
|
||||
if (isParticipantsOpen)
|
||||
return query.state.error ? POLL_INTERVAL_MS * 3 : POLL_INTERVAL_MS
|
||||
return LAZY_POLL_INTERVAL_MS
|
||||
},
|
||||
refetchIntervalInBackground: false,
|
||||
|
||||
Reference in New Issue
Block a user