modal
    Preparing search index...

    Type Alias SandboxSnapshotFilesystemParams

    Optional parameters for Sandbox.snapshotFilesystem().

    type SandboxSnapshotFilesystemParams = {
        timeoutMs?: number;
        ttlMs?: number | null;
    }
    Index

    Properties

    Properties

    timeoutMs?: number

    Overall budget for the snapshot call, in milliseconds. Defaults to 55000. If it elapses before a snapshot completes, the call is cancelled and an error is thrown.

    ttlMs?: number | null

    Lifetime of the resulting image in milliseconds, as a hard cutoff measured from creation. Defaults to 30 days. Pass null to retain the image indefinitely.