Skip to content

Commit 5eaa2e2

Browse files
committed
Increase v4 visibility timeouts
1 parent 56ec052 commit 5eaa2e2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

internal-packages/run-engine/src/engine/workerCatalog.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,51 +6,51 @@ export const workerCatalog = {
66
waitpointId: z.string(),
77
error: z.string().optional(),
88
}),
9-
visibilityTimeoutMs: 5000,
9+
visibilityTimeoutMs: 30_000,
1010
},
1111
heartbeatSnapshot: {
1212
schema: z.object({
1313
runId: z.string(),
1414
snapshotId: z.string(),
1515
}),
16-
visibilityTimeoutMs: 5000,
16+
visibilityTimeoutMs: 30_000,
1717
},
1818
expireRun: {
1919
schema: z.object({
2020
runId: z.string(),
2121
}),
22-
visibilityTimeoutMs: 5000,
22+
visibilityTimeoutMs: 30_000,
2323
},
2424
cancelRun: {
2525
schema: z.object({
2626
runId: z.string(),
2727
completedAt: z.coerce.date(),
2828
reason: z.string().optional(),
2929
}),
30-
visibilityTimeoutMs: 5000,
30+
visibilityTimeoutMs: 30_000,
3131
},
3232
queueRunsPendingVersion: {
3333
schema: z.object({
3434
backgroundWorkerId: z.string(),
3535
}),
36-
visibilityTimeoutMs: 5000,
36+
visibilityTimeoutMs: 60_000,
3737
},
3838
tryCompleteBatch: {
3939
schema: z.object({
4040
batchId: z.string(),
4141
}),
42-
visibilityTimeoutMs: 10_000,
42+
visibilityTimeoutMs: 30_000,
4343
},
4444
continueRunIfUnblocked: {
4545
schema: z.object({
4646
runId: z.string(),
4747
}),
48-
visibilityTimeoutMs: 10_000,
48+
visibilityTimeoutMs: 30_000,
4949
},
5050
enqueueDelayedRun: {
5151
schema: z.object({
5252
runId: z.string(),
5353
}),
54-
visibilityTimeoutMs: 10_000,
54+
visibilityTimeoutMs: 30_000,
5555
},
5656
};

0 commit comments

Comments
 (0)