diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-03-10 16:53:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 16:53:53 +0300 |
commit | da4cd47753b954ed8f6a00a873ab1210bfcf9f24 (patch) | |
tree | 0fe31e46c09ec731b8fae8942cb68e346bc59a1e /config/config.sample.php | |
parent | 06600f60365c84c39a96d84afabc2a9ec98e9312 (diff) | |
parent | 557afa7c1a51f13beb5591ffd86ee7aecae394a4 (diff) |
Merge pull request #31122 from nextcloud/backport/30945/stable22
[stable22] Background job time windows
Diffstat (limited to 'config/config.sample.php')
-rw-r--r-- | config/config.sample.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 505728dc47d..4bb976fbcad 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1213,6 +1213,20 @@ $CONFIG = [ */ 'maintenance' => false, +/** + * UTC Hour for maintenance windows + * + * Some background jobs only run once a day. When an hour is defined for this config, + * the background jobs which advertise themselves as not time sensitive will be + * delayed during the "working" hours and only run in the 4 hours after the given time. + * This is e.g. used for activity expiration, suspicious login training and update checks. + * + * A value of 1 e.g. will only run these background jobs between 01:00am UTC and 05:00am UTC. + * + * Defaults to ``100`` which disables the feature + */ +'maintenance_window_start' => 1, + /** * SSL |