app/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: Apache-2.0

Directories

Path Synopsis
Package completer batches job state updates and heartbeats.
Package completer batches job state updates and heartbeats.
Package elector elects one leader per cluster with a lease row whose times come from the client clock.
Package elector elects one leader per cluster with a lease row whose times come from the client clock.
Package executor runs one attempt of a job: it applies the job, kind or client timeout, recovers panics with their stack, consults the error handler, honours cancel requests, and maps the result to a completion.
Package executor runs one attempt of a job: it applies the job, kind or client timeout, recovers panics with their stack, consults the error handler, honours cancel requests, and maps the result to a completion.
Package maintenance holds the leader-only services (scheduler, rescuer, cleaner, reindexer, periodic enqueuer, queue-depth sampler) and the PollOnly cancel poller.
Package maintenance holds the leader-only services (scheduler, rescuer, cleaner, reindexer, periodic enqueuer, queue-depth sampler) and the PollOnly cancel poller.
Package notifier multiplexes a single Postgres LISTEN connection to the producers, the cancel handler and the elector, and reconnects with jittered backoff when the connection is lost.
Package notifier multiplexes a single Postgres LISTEN connection to the producers, the cancel handler and the elector, and reconnects with jittered backoff when the connection is lost.
Package producer runs the fetch loop of one queue: it wakes on NOTIFY, on finished jobs and on a poll interval, fetches up to its free capacity (honouring pause, per-key limits and fairness) and runs each job on its own goroutine with a cancellable job context.
Package producer runs the fetch loop of one queue: it wakes on NOTIFY, on finished jobs and on a poll interval, fetches up to its free capacity (honouring pause, per-key limits and fairness) and runs each job on its own goroutine with a cancellable job context.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL