Disable all jobs on the multiple processes

This commit is contained in:
Émilien (perso) 2024-05-28 16:22:16 +02:00 committed by GitHub
parent 60c4875f1a
commit 2814c5ef47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,6 +39,13 @@ We assume that you have not changed the port `3000` from the default installatio
``` ```
channel_threads: 0 channel_threads: 0
feed_threads: 0 feed_threads: 0
jobs:
clear_expired_items:
enabled: false
refresh_channels:
enabled: false
refresh_feeds:
enabled: false
``` ```
This is required so that only one invidious process refresh the subscriptions for the users. This is required so that only one invidious process refresh the subscriptions for the users.
Running this process with multiple processes may introduce some conflicts. Running this process with multiple processes may introduce some conflicts.
@ -133,6 +140,13 @@ We assume that you have not changed the port `3000` from the default installatio
https_only: true https_only: true
statistics_enabled: true statistics_enabled: true
hmac_key: "CHANGE_ME!!" hmac_key: "CHANGE_ME!!"
jobs:
clear_expired_items:
enabled: false
refresh_channels:
enabled: false
refresh_feeds:
enabled: false
healthcheck: healthcheck:
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/trending || exit 1 test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/trending || exit 1
interval: 30s interval: 30s