Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-01-31 23:23:07 +0300
committerJoas Schilling <coding@schilljs.com>2022-02-07 15:54:54 +0300
commitb8e0a3dbdd61877050328c9ed5ad72922c330a97 (patch)
tree1bb438e6653850873906400130d4320649cb4c3e /apps/contactsinteraction
parent3fd55cb4df80b6434cc5f028f80f1419b3f79202 (diff)
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;
}