diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2022-10-12 10:06:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-12 10:06:36 +0200 |
| commit | 3b39b8c772b57552893fa55eb417189b2976bbe4 (patch) | |
| tree | 59c6122f0bb0c82ebfa2f112e46676220f291c47 /config/config.example.yml | |
| parent | 6707368f196134a8ebafb13592e33cdbd290d0f2 (diff) | |
| download | invidious-3b39b8c772b57552893fa55eb417189b2976bbe4.tar.gz invidious-3b39b8c772b57552893fa55eb417189b2976bbe4.tar.bz2 invidious-3b39b8c772b57552893fa55eb417189b2976bbe4.zip | |
Add table cleaning job (#3294)
Diffstat (limited to 'config/config.example.yml')
| -rw-r--r-- | config/config.example.yml | 45 |
1 files changed, 37 insertions, 8 deletions
diff --git a/config/config.example.yml b/config/config.example.yml index 160a2750..264a5bea 100644 --- a/config/config.example.yml +++ b/config/config.example.yml @@ -304,10 +304,8 @@ https_only: false ## Number of threads to use when crawling channel videos (during ## subscriptions update). ## -## Notes: -## - Setting this to 0 will disable the channel videos crawl job. -## - This setting is overridden if "-c THREADS" or -## "--channel-threads=THREADS" are passed on the command line. +## Notes: This setting is overridden if either "-c THREADS" or +## "--channel-threads=THREADS" is passed on the command line. ## ## Accepted values: a positive integer ## Default: 1 @@ -335,10 +333,8 @@ full_refresh: false ## ## Number of threads to use when updating RSS feeds. ## -## Notes: -## - Setting this to 0 will disable the channel videos crawl job. -## - This setting is overridden if "-f THREADS" or -## "--feed-threads=THREADS" are passed on the command line. +## Notes: This setting is overridden if either "-f THREADS" or +## "--feed-threads=THREADS" is passed on the command line. ## ## Accepted values: a positive integer ## Default: 1 @@ -361,6 +357,39 @@ feed_threads: 1 #decrypt_polling: false +jobs: + + ## Options for the database cleaning job + clear_expired_items: + + ## Enable/Disable job + ## + ## Accepted values: true, false + ## Default: true + ## + enable: true + + ## Options for the channels updater job + refresh_channels: + + ## Enable/Disable job + ## + ## Accepted values: true, false + ## Default: true + ## + enable: true + + ## Options for the RSS feeds updater job + refresh_feeds: + + ## Enable/Disable job + ## + ## Accepted values: true, false + ## Default: true + ## + enable: true + + # ----------------------------- # Captcha API # ----------------------------- |
