modal
    Preparing search index...

    Type Alias SandboxCreateOptions

    Options for App.createSandbox().

    type SandboxCreateOptions = {
        command?: string[];
        cpu?: number;
        memory?: number;
        timeout?: number;
    }
    Index

    Properties

    command?: string[]

    Sequence of program arguments for the main process. Default behavior is to sleep indefinitely until timeout or termination.

    cpu?: number

    Reservation of physical CPU cores for the sandbox, can be fractional.

    memory?: number

    Reservation of memory in MiB.

    timeout?: number

    Timeout of the sandbox container, defaults to 10 minutes.