Skip to content

Commit

Permalink
[Connectors] Hotfix: increase incrementalSync start-to-close (#4231)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipperolet authored Mar 9, 2024
1 parent c19ca2a commit 4145920
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion connectors/src/connectors/google_drive/temporal/workflows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@ const {
renewWebhooks,
populateSyncTokens,
garbageCollectorFinished,
incrementalSync,
markFolderAsVisited,
} = proxyActivities<typeof activities>({
startToCloseTimeout: "20 minutes",
});

// Hotfix: increase timeout on incrementalSync to avoid restarting ongoing activities
const { incrementalSync } = proxyActivities<typeof activities>({
startToCloseTimeout: "60 minutes",
});

// Temporarily increase timeout on syncFiles until table upsertion is moved to the upsert queue.
const { syncFiles } = proxyActivities<typeof activities>({
startToCloseTimeout: "30 minutes",
Expand Down

0 comments on commit 4145920

Please sign in to comment.