quillmark ⌥

Options

Options are passed when the quillmark client is created. Every option is optional; the defaults suit most applications.

Options

OptionTypeDefaultDescription
DatabaseURLstring"postgres://localhost/app"Connection string of the database that stores jobs.
Concurrencyint10Number of jobs processed at the same time by this worker.
MaxAttemptsint25Attempts before a job is moved to the dead state.
PollIntervaltime.Duration1sHow often idle workers look for new jobs.
ShutdownTimeouttime.Duration30sHow long to wait for running jobs on shutdown.
QueueNamestring"default"Queue this worker consumes.

Durations are given in time.Duration.