Skip to content

v0.94.15

@BloggerBust BloggerBust tagged this 15 Jul 23:52
A task can declare how many default worker slots it consumes. One that
needs more memory or CPU reserves more slots, so a worker runs fewer of
them at once. The option is slotCost in TypeScript, slot_cost in
Python, and WithSlotCost in Go. Each maps to the engine request
slot_requests {default: N}. The option defaults to one slot and does not apply
to durable tasks.
Assets 2
Loading