number ∪ boolean
Amount of time, in seconds, author activity history (Comments/Submission) should be cached
If 0
or true
will cache indefinitely (not recommended)
If false
will not cache
ENV => AUTHOR_TTL
ARG => --authorTTL <sec>
60
number ∪ boolean
Amount of time, in seconds, a comment should be cached
0
or true
will cache indefinitely (not recommended)false
will not cache60
number ∪ boolean
Amount of time, in seconds, to cache filter criteria results (authorIs
and itemIs
results)
This is especially useful if when polling high-volume comments and your checks rely on author/item filters
0
or true
will cache indefinitely (not recommended)false
will not cache60
number ∪ boolean
Amount of time, in seconds, Mod Notes should be cached
0
or true
will cache indefinitely (not recommended)false
will not cache60
anyOf [CacheOptions, string]
The cache provider and, optionally, a custom configuration for that provider
If not present or null
provider will be memory
.
To specify another provider
but use its default configuration set this property to a string of one of the available providers: memory
, redis
, or none
number ∪ boolean
Amount of time, in seconds, an Activity that the bot has acted on or created will be ignored if found during polling
This is useful to prevent the bot from checking Activities it just worked on or a product of the checks. Examples:
This value should be at least as long as the longest polling interval for modqueue/newComm
0
or true
will cache indefinitely (not recommended)false
will not cache50
number ∪ boolean
Amount of time, in seconds, a submission should be cached
0
or true
will cache indefinitely (not recommended)false
will not cache60
number ∪ boolean
Amount of time, in seconds, a subreddit (attributes) should be cached
0
or true
will cache indefinitely (not recommended)false
will not cache600
number ∪ boolean
Amount of time, in seconds, Toolbox User Notes should be cached
0
or true
will cache indefinitely (not recommended)false
will not cache300
number ∪ boolean
Amount of time, in seconds, wiki content pages should be cached
0
or true
will cache indefinitely (not recommended)false
will not cache300