diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-03-04 17:15:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 17:15:09 +0300 |
commit | f1af519c8439ee604d87497df23bcfad970ce610 (patch) | |
tree | 060642820c14baf1141198a3f9d893e6797377d2 | |
parent | 92691f2793cc188feb361700f42a8bd428ab08af (diff) | |
parent | 48462735a3bec2479e2864b3498767406dacf8f6 (diff) |
Merge pull request #127 from nextcloud/revert-126-monthly-report-time-insensitivev24.0.0beta2v24.0.0beta1
Revert "Make monthly report time insensitive"
-rw-r--r-- | lib/BackgroundJobs/MonthlyReport.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/BackgroundJobs/MonthlyReport.php b/lib/BackgroundJobs/MonthlyReport.php index eaad1d3..d634e6e 100644 --- a/lib/BackgroundJobs/MonthlyReport.php +++ b/lib/BackgroundJobs/MonthlyReport.php @@ -34,7 +34,8 @@ class MonthlyReport extends TimedJob { public function __construct() { // Run all 28 days $this->setInterval(28 * 24 * 60 * 60); - $this->setTimeSensitivity(IJob::TIME_INSENSITIVE); + // keeping time sensitive to not overload the target server at a single specific time of the day + $this->setTimeSensitivity(IJob::TIME_SENSITIVE); } protected function run($argument) { |