Skip to content

Daytona.Warm Pool reference

Source: packages/daytona/src/WarmPool.ts

Keeps started sandboxes of a Snapshot ready, so creating a sandbox from that snapshot hands one over instead of booting a new one. Daytona uses the pool automatically for matching creates.

Deleting the snapshot deletes its warm pools. Daytona Cloud doesn’t serve warm pools to every organization; where it doesn’t, deploying one fails with WarmPoolsUnavailable.

export const Pool = Daytona.WarmPool("Pool", { snapshot: Base, size: 4 });