Skip to content

Commit 359a4cb

Browse files
committed
fix: raise versions merge activity timeout to 4h (CM-1296)
Signed-off-by: Uroš Marolt <uros@marolt.me>
1 parent c805516 commit 359a4cb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

services/apps/packages_worker/src/deps-dev/workflows/ingestVersions.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ const { gcsParquetToStaging } = proxyActivities<typeof depsDevActivities>({
2121
})
2222

2323
const { mergeStagingToTable } = proxyActivities<typeof depsDevActivities>({
24-
startToCloseTimeout: '1 hour',
24+
// A single ~1M-row chunk merge into the live-index/live-constraint versions table can run long;
25+
// 4h matches ingestDependencies and gives headroom over the previously-observed 2h overrun. The
26+
// merge is non-retryable (maximumAttempts: 1), so too short a timeout fails the whole ingest.
27+
startToCloseTimeout: '4 hours',
2528
retry: { maximumAttempts: 1 },
2629
})
2730

0 commit comments

Comments
 (0)