Skip to content

Commit c52a1ef

Browse files
committed
docs(run-engine): the gate cap is three, matching the schema
1 parent 7466179 commit c52a1ef

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ export const InputPayload = z.object({
3232
attempt: z.number(),
3333
/** TTL expiration timestamp (unix ms). If set, run will be expired when this time is reached. */
3434
ttlExpiresAt: z.number().optional(),
35-
/** Additional queues this run must also hold a slot in while executing. At most two. */
35+
/** 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. */
3637
gates: QueueGate.array().max(3).optional(),
3738
});
3839
export type InputPayload = z.infer<typeof InputPayload>;

0 commit comments

Comments
 (0)