mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
Disable all jobs on the multiple processes
This commit is contained in:
parent
60c4875f1a
commit
2814c5ef47
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue