diff options
author | provokateurin <kate@provokateurin.de> | 2024-10-07 17:36:55 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-11-25 08:42:06 +0100 |
commit | 10f1d9768940aeab91b278919a0c814ac9d55aef (patch) | |
tree | a108f2596b06b6aad4c26ba7277bce9c9ba94576 /apps/files_reminders | |
parent | 9388c96a31644f1347c682bc2e3e06a63fa202c2 (diff) | |
download | nextcloud-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.php | 3 |
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); } /** |