aboutsummaryrefslogtreecommitdiffstats
path: root/apps/updatenotification
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-10-07 17:36:55 +0200
committerprovokateurin <kate@provokateurin.de>2024-10-08 11:26:53 +0200
commit54ec472d9a2c8a3d3c5daf0594bb887b11a81614 (patch)
tree98660989fcc8c32c938491e7da51ea3afbea5fa3 /apps/updatenotification
parentd7aff6c1500fb85269945064d4c34085c4240425 (diff)
downloadnextcloud-server-54ec472d9a2c8a3d3c5daf0594bb887b11a81614.tar.gz
nextcloud-server-54ec472d9a2c8a3d3c5daf0594bb887b11a81614.zip
fix(BackgroundJobs): Adjust intervals and time sensitivities
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/updatenotification')
-rw-r--r--apps/updatenotification/lib/BackgroundJob/UpdateAvailableNotifications.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/updatenotification/lib/BackgroundJob/UpdateAvailableNotifications.php b/apps/updatenotification/lib/BackgroundJob/UpdateAvailableNotifications.php
index 30786f5e12d..7f8402570bc 100644
--- a/apps/updatenotification/lib/BackgroundJob/UpdateAvailableNotifications.php
+++ b/apps/updatenotification/lib/BackgroundJob/UpdateAvailableNotifications.php
@@ -40,6 +40,7 @@ class UpdateAvailableNotifications extends TimedJob {
parent::__construct($timeFactory);
// Run once a day
$this->setInterval(60 * 60 * 24);
+ $this->setTimeSensitivity(self::TIME_INSENSITIVE);
}
protected function run($argument) {