ArrJanitor::Config::Backend
Inherits JSON::Serializable < YAML::Serializable < Reference < Object
A single Sonarr/Radarr instance to watch.
Constants
Interval when none is configured.
Timeout when cleanup.metadata_downloading.timeout is omitted.
Timeout when cleanup.stalled.timeout is omitted.
<int> followed by a m/h/d unit.
Constructors
Instance methods
Optional cleanup rules. nil means both kinds use their defaults.
The poll interval as a Time::Span. Defaults to DEFAULT_INTERVAL
when unset; raises Config::Error on a malformed value.
Whether filename matches any entry in extensions_filter. An entry
containing a glob metachar (*, ?, [) is matched as a glob against
the basename (case-insensitive); otherwise it is treated as an
extension matching files ending in .<entry> (case-insensitive; a
leading . is tolerated).
Whether metadata-downloading cleanup is on. Defaults to true when
cleanup or the nested rule is omitted.
How long a torrent may sit in metadata-downloading before cleanup.
Defaults to DEFAULT_METADATA_DOWNLOADING_TIMEOUT; raises
Config::Error on a malformed value.
Whether stalled-torrent cleanup is on. Defaults to true when
cleanup or the nested rule is omitted.
How long a torrent may sit stalled (zero seeds) before cleanup.
Defaults to DEFAULT_STALLED_TIMEOUT; raises Config::Error on a
malformed value.
Parsed leniently so an unknown value surfaces as a validation error
rather than a parse crash. nil means the raw value was invalid.
Parsed leniently so an unknown value surfaces as a validation error
rather than a parse crash. nil means the raw value was invalid.