@basetenlabs/sandbox - v0.3.0
    Preparing search index...

    Interface SandboxRetryOptions

    Retry budgets for transient failures.

    Retries only ever apply to operations that are safe to repeat, such as reads. Operations with side effects, such as running a process or creating a sandbox, are never retried. Each budget counts retries after the first attempt, so 0 disables that kind of retry.

    interface SandboxRetryOptions {
        gatewayMaxRetries?: number;
        readMaxRetries?: number;
        uploadMaxRetries?: number;
    }
    Index
    gatewayMaxRetries?: number

    Retries after the edge in front of a sandbox answers 502, 503, or 504. Each attempt can take as long as the edge's own timeout, so this is kept small. Defaults to 2.

    readMaxRetries?: number

    Retries of a read after a dropped or reset connection. Defaults to 5.

    uploadMaxRetries?: number

    Retries of a file upload after a dropped or reset connection. Defaults to 3.