We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b0c99 commit 8cb03d6Copy full SHA for 8cb03d6
1 file changed
src/extension/tab/hook.ts
@@ -216,13 +216,14 @@ function initializeHook() {
216
217
/**
218
* Attempt to find the client on a 1-second interval for 10 seconds max
219
+ * Note: Increasing limit to 40 seconds to account for slow loads
220
*/
221
function findClient() {
222
let interval;
223
let count = 0;
224
225
function initializeDevtoolsHook() {
- if (count++ > 10) clearInterval(interval);
226
+ if (count++ > 40) clearInterval(interval);
227
if (window.__APOLLO_CLIENT__) {
228
hook.ApolloClient = window.__APOLLO_CLIENT__;
229
hook.ApolloClient.__actionHookForDevTools(handleActionHookForDevtools);
0 commit comments