diff options
author | Joas Schilling <coding@schilljs.com> | 2022-01-31 21:23:07 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2022-02-22 10:59:21 +0000 |
commit | 954d4e18d15295466260f0391255b35d88191067 (patch) | |
tree | 01d52e8733697441ac86c70f9e0586bd3745a7c3 /apps/files_sharing/lib | |
parent | 30ecb7ade2947cab23918352be4e647d1aa0b394 (diff) | |
download | nextcloud-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/files_sharing/lib')
-rw-r--r-- | apps/files_sharing/lib/ExpireSharesJob.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/ExpireSharesJob.php b/apps/files_sharing/lib/ExpireSharesJob.php index 1e56602a0bf..dd0979e4b0b 100644 --- a/apps/files_sharing/lib/ExpireSharesJob.php +++ b/apps/files_sharing/lib/ExpireSharesJob.php @@ -25,6 +25,7 @@ namespace OCA\Files_Sharing; use OCP\AppFramework\Utility\ITimeFactory; +use OCP\BackgroundJob\IJob; use OCP\BackgroundJob\TimedJob; use OCP\IDBConnection; use OCP\Share\Exceptions\ShareNotFound; @@ -50,6 +51,7 @@ class ExpireSharesJob extends TimedJob { // Run once a day $this->setInterval(24 * 60 * 60); + $this->setTimeSensitivity(IJob::TIME_INSENSITIVE); } |