Skip to content

Commit

Permalink
feat: increase timeout to prevent 429
Browse files Browse the repository at this point in the history
  • Loading branch information
Guille committed May 16, 2024
1 parent 9fc40ee commit 8c5e049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NotionExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class NotionExporter {

private pollTask = (
taskId: string,
pollInterval: number = 50
pollInterval: number = 500
): Promise<string> =>
new Promise((resolve, reject) => {
const poll = async () => {
Expand Down

0 comments on commit 8c5e049

Please sign in to comment.