aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2020-02-19 10:37:50 +0100
committerGitHub <noreply@github.com>2020-02-19 10:37:50 +0100
commit29f610edfdf3804ca7c3e216483a7f0b6d0e541a (patch)
tree21c4951b90c3892bd9a18f7532b6dd2f54e83c52
parenteb28572f9b8ab6e3bf36b86513b619337d65eea8 (diff)
parentab6a18f420d8196ed7ab2199f7ca4ed52f9a80e5 (diff)
downloadnextcloud-server-29f610edfdf3804ca7c3e216483a7f0b6d0e541a.tar.gz
nextcloud-server-29f610edfdf3804ca7c3e216483a7f0b6d0e541a.zip
Merge pull request #19506 from michaelkuhn/cron-5-min
cron: Adapt to 5 minutes recommendation
-rw-r--r--cron.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/cron.php b/cron.php
index 64e87656fe4..626e9a777d6 100644
--- a/cron.php
+++ b/cron.php
@@ -111,8 +111,9 @@ try {
// Work
$jobList = \OC::$server->getJobList();
- // We only ask for jobs for 14 minutes, because after 15 minutes the next
- // system cron task should spawn.
+ // We only ask for jobs for 14 minutes, because after 5 minutes the next
+ // system cron task should spawn and we want to have at most three
+ // cron jobs running in parallel.
$endTime = time() + 14 * 60;
$executedJobs = [];