/** * Executa */ export declare class Config { /** * Display debug log data? */ debug: boolean; /** * Start a `stdio` server. */ stdio: boolean; /** * Start a `vsock` server. * * If a `number`, it will be used as the port number. * If `true`, the default Vsock port `6000` will be used. */ vsock: boolean | number; /** * Start a TCP server. * * If a `string`, it will be parsed and used as the address * of the TCP server. * If `true`, the default TCP address `tcp://127.0.0.1:7000` * will be used. */ tcp: boolean | string; /** * Start a HTTP server. * * If a `string`, it will be parsed and used as the address * of the HTTP server. * If `true`, the default HTTP address `http://127.0.0.1:8000` * will be used. */ http: boolean | string; /** * Start a WebSocket server. * * If a `string`, it will be parsed and used as the address * of the WebSocket server. * If `true`, the default WebSocket address `ws://127.0.0.1:9000` * will be used. */ ws: boolean | string; /** * Duration of inactivity after which the process should stop. * * Seconds. Zero means no timeout. */ timeout: number; /** * Maximum duration for the process. * * Seconds. Zero means no time limit. */ timelimit: number; /** * List of peer addresses. * * Each string in this list is parsed as an address to * a peer executor. e.g. `https://123.45.67.89/`, `docker://image` */ peers: string[]; /** * Maximum length of the request queue. * * When queue reaches this length, subsequent requests will * fail with an error response to client. */ queueLength: number; /** * Interval between attempts to reduce request queue. * * Seconds. */ queueInterval: number; /** * Duration after which a request is removed from queue. * * Seconds. Client will be notified when a request is removed. */ queueStale: number; }