readme about schedule.delay
This commit is contained in:
parent
f4d61c9612
commit
4f1f28a693
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -169,6 +169,16 @@ database:
|
||||||
prune: "@every 1h"
|
prune: "@every 1h"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Startup CronJob delay
|
||||||
|
|
||||||
|
If there are multiple watches set up with the same schedule then if GoWatch is restarted, all these watches will trigger at the same time, which causes a short burst of activity.
|
||||||
|
It might be preferable to spread out these schedules a bit, this can be done by setting `schedule.delay` in the config or with the `GOWATCH_SCHEDULE_DELAY` environment variable:
|
||||||
|
```
|
||||||
|
schedule:
|
||||||
|
delay: "5s"
|
||||||
|
```
|
||||||
|
|
||||||
## Proxy
|
## Proxy
|
||||||
|
|
||||||
The config can be used to proxy HTTP/HTTPS requests through a proxy:
|
The config can be used to proxy HTTP/HTTPS requests through a proxy:
|
||||||
|
|
Loading…
Add table
Reference in a new issue