Skip to content

Commit

Permalink
Increase interval for polling
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyec committed Sep 18, 2024
1 parent 78c60b9 commit 2c7e5de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/google-search-console/src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function useGoogleToken() {
clearInterval(pollInterval.current);
resolve(tokens);
}
}, 2500);
}, 10_000);
});
};

Expand Down
2 changes: 1 addition & 1 deletion plugins/google-sheets/src/pages/Authenticate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function Authenticate({ onAuthenticated }: AuthenticationProps) {
clearInterval(pollInterval.current)
resolve(tokens)
}),
2500
10_000
))
)
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/notion/src/notion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export async function authorize(options: { readKey: string; writeKey: string })
initNotionClient()
resolve()
}
}, 2500)
}, 10_000)
})
}

Expand Down

0 comments on commit 2c7e5de

Please sign in to comment.