Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/survey_client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-03-04 17:15:09 +0300
committerGitHub <noreply@github.com>2022-03-04 17:15:09 +0300
commitf1af519c8439ee604d87497df23bcfad970ce610 (patch)
tree060642820c14baf1141198a3f9d893e6797377d2
parent92691f2793cc188feb361700f42a8bd428ab08af (diff)
parent48462735a3bec2479e2864b3498767406dacf8f6 (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.php3
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) {