Created
September 10, 2025 15:18
-
-
Save broguinn/cd218af1a9efe35b4f7f05059fd1891f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/apps/parking-web/src/apollo/client.ts b/apps/parking-web/src/apollo/client.ts | |
index 7da985b5..90f2b00f 100644 | |
--- a/apps/parking-web/src/apollo/client.ts | |
+++ b/apps/parking-web/src/apollo/client.ts | |
@@ -57,6 +57,11 @@ const createApolloClient = () => | |
}, | |
}, | |
}), | |
+ defaultOptions: { | |
+ watchQuery: { | |
+ skipPollAttempt: () => !document.hidden, | |
+ }, | |
+ }, | |
link: ApolloLink.from([sentryLink, authLink]), | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment