aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_reminders
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-10-07 17:36:55 +0200
committerprovokateurin <kate@provokateurin.de>2024-11-25 08:42:06 +0100
commit10f1d9768940aeab91b278919a0c814ac9d55aef (patch)
treea108f2596b06b6aad4c26ba7277bce9c9ba94576 /apps/files_reminders
parent9388c96a31644f1347c682bc2e3e06a63fa202c2 (diff)
downloadnextcloud-server-10f1d9768940aeab91b278919a0c814ac9d55aef.tar.gz
nextcloud-server-10f1d9768940aeab91b278919a0c814ac9d55aef.zip
fix(BackgroundJobs): Adjust intervals and time sensitivitiesbackport/48600/stable28
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_reminders')
-rw-r--r--apps/files_reminders/lib/BackgroundJob/CleanUpReminders.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_reminders/lib/BackgroundJob/CleanUpReminders.php b/apps/files_reminders/lib/BackgroundJob/CleanUpReminders.php
index afa8c514a0a..18ce5c6f818 100644
--- a/apps/files_reminders/lib/BackgroundJob/CleanUpReminders.php
+++ b/apps/files_reminders/lib/BackgroundJob/CleanUpReminders.php
@@ -28,7 +28,6 @@ namespace OCA\FilesReminders\BackgroundJob;
use OCA\FilesReminders\Service\ReminderService;
use OCP\AppFramework\Utility\ITimeFactory;
-use OCP\BackgroundJob\IJob;
use OCP\BackgroundJob\TimedJob;
class CleanUpReminders extends TimedJob {
@@ -39,7 +38,7 @@ class CleanUpReminders extends TimedJob {
parent::__construct($time);
$this->setInterval(24 * 60 * 60); // 1 day
- $this->setTimeSensitivity(IJob::TIME_INSENSITIVE);
+ $this->setTimeSensitivity(self::TIME_INSENSITIVE);
}
/**