summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-01-31 21:23:07 +0100
committerJoas Schilling <coding@schilljs.com>2022-02-07 13:54:54 +0100
commitb8e0a3dbdd61877050328c9ed5ad72922c330a97 (patch)
tree1bb438e6653850873906400130d4320649cb4c3e /apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php
parent3fd55cb4df80b6434cc5f028f80f1419b3f79202 (diff)
downloadnextcloud-server-b8e0a3dbdd61877050328c9ed5ad72922c330a97.tar.gz
nextcloud-server-b8e0a3dbdd61877050328c9ed5ad72922c330a97.zip
Use the new option to signaling insensitivity
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php')
-rw-r--r--apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php b/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php
index 51428f9b996..3eed1bb8dea 100644
--- a/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php
+++ b/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php
@@ -28,6 +28,7 @@ namespace OCA\TwoFactorBackupCodes\BackgroundJob;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\Authentication\TwoFactorAuth\IRegistry;
+use OCP\BackgroundJob\IJob;
use OCP\BackgroundJob\IJobList;
use OCP\BackgroundJob\TimedJob;
use OCP\IUserManager;
@@ -60,6 +61,7 @@ class RememberBackupCodesJob extends TimedJob {
$this->jobList = $jobList;
$this->setInterval(60 * 60 * 24 * 14);
+ $this->setTimeSensitivity(IJob::TIME_INSENSITIVE);
}
protected function run($argument) {