Skip to content

Commit 707bc09

Browse files
committed
Make sure maxExecutionsPerProcess is a positive integer
1 parent a0f2c98 commit 707bc09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/v3/schemas/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const WorkerManifest = z.object({
9595
processKeepAlive: z
9696
.object({
9797
enabled: z.boolean(),
98-
maxExecutionsPerProcess: z.number().optional(),
98+
maxExecutionsPerProcess: z.number().int().positive().optional(),
9999
})
100100
.optional(),
101101

0 commit comments

Comments
 (0)