Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/overlord/src/overlord.ts>BaseOverlordOptions

A runner for your scripts so you don't have to deploy them. ๐Ÿš€
Latest
interface BaseOverlordOptions
import { type BaseOverlordOptions } from "https://deno.land/x/overlord@v0.3.0/src/overlord.ts";

Properties

optional
port: number

The port to run the server on.

optional
timeout: number

Maximum time allowed for a single minion to handle a request. In milliseconds.

optional
logLevel: LogLevel

Sets the minimum log level for the overlord logger.

optional
logger: Logger

An optional logger to override the default logger used by Overlord.

optional
minionPoolSize: number

The maximum number of minions to be spawned in parallel. Each received request spawns a new minion, if the number of requests exceeds minionPoolSize, some of the requests will have to wait for a spot. This number is basically a trade-off between number of threads on one hand, and response latency on the other hand.