diff options
author | provokateurin <kate@provokateurin.de> | 2024-10-07 17:36:55 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-10-08 11:26:53 +0200 |
commit | 54ec472d9a2c8a3d3c5daf0594bb887b11a81614 (patch) | |
tree | 98660989fcc8c32c938491e7da51ea3afbea5fa3 /apps/contactsinteraction | |
parent | d7aff6c1500fb85269945064d4c34085c4240425 (diff) | |
download | nextcloud-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/contactsinteraction')
-rw-r--r-- | apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php b/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php index 38fd0e15531..b89a2c1fbb3 100644 --- a/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php +++ b/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php @@ -10,7 +10,6 @@ namespace OCA\ContactsInteraction\BackgroundJob; use OCA\ContactsInteraction\Db\RecentContactMapper; use OCP\AppFramework\Utility\ITimeFactory; -use OCP\BackgroundJob\IJob; use OCP\BackgroundJob\TimedJob; class CleanupJob extends TimedJob { @@ -22,7 +21,7 @@ class CleanupJob extends TimedJob { parent::__construct($time); $this->setInterval(24 * 60 * 60); - $this->setTimeSensitivity(IJob::TIME_INSENSITIVE); + $this->setTimeSensitivity(self::TIME_INSENSITIVE); } |