Skip to main content

Module daemon

Module daemon 

Source
Expand description

Download queue, daemon state, and event broadcast.

The queue uses a fixed number of active slots; torrents beyond the cap are engine-paused and auto-promoted as slots free. Status is derived per torrent: user pause, engine pause (queued), error, completed. Our own metadata (user_paused, added_at) persists to queue.json; the engine session persists the torrents themselves.

Structs§

Daemon
TorrentView

Enums§

Event
Status

Constants§

DEFAULT_MAX_ACTIVE
How many torrents download at once (tunable later).