summaryrefslogtreecommitdiffstats
path: root/apps/contactsinteraction
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-01-31 21:23:07 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2022-02-22 10:59:21 +0000
commit954d4e18d15295466260f0391255b35d88191067 (patch)
tree01d52e8733697441ac86c70f9e0586bd3745a7c3 /apps/contactsinteraction
parent30ecb7ade2947cab23918352be4e647d1aa0b394 (diff)
downloadnextcloud-server-954d4e18d15295466260f0391255b35d88191067.tar.gz
nextcloud-server-954d4e18d15295466260f0391255b35d88191067.zip
Use the new option to signaling insensitivity
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/contactsinteraction')
-rw-r--r--apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php b/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php
index 2a48452d426..fd370ce60e5 100644
--- a/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php
+++ b/apps/contactsinteraction/lib/BackgroundJob/CleanupJob.php
@@ -27,6 +27,7 @@ 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 {
@@ -38,7 +39,8 @@ class CleanupJob extends TimedJob {
RecentContactMapper $mapper) {
parent::__construct($time);
- $this->setInterval(12 * 60 * 60);
+ $this->setInterval(24 * 60 * 60);
+ $this->setTimeSensitivity(IJob::TIME_INSENSITIVE);
$this->mapper = $mapper;
}