Skip to content

Commit eb98fd1

Browse files
committed
fix(run-engine): queue payloads accept four gates
1 parent c52a1ef commit eb98fd1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • internal-packages/run-engine/src/run-queue

‎internal-packages/run-engine/src/run-queue/types.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export const InputPayload = z.object({
3333
/** TTL expiration timestamp (unix ms). If set, run will be expired when this time is reached. */
3434
ttlExpiresAt: z.number().optional(),
3535
/** Additional queues this run must also hold a slot in while executing. At most
36-
* three: a task's anonymous inline-limit gate plus two named limits. */
37-
gates: QueueGate.array().max(3).optional(),
36+
* four: three requested gates plus the task's anonymous inline-limit gate. */
37+
gates: QueueGate.array().max(4).optional(),
3838
});
3939
export type InputPayload = z.infer<typeof InputPayload>;
4040

0 commit comments

Comments
 (0)