diff options
author | Joas Schilling <coding@schilljs.com> | 2022-01-31 21:23:07 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-02-07 13:54:54 +0100 |
commit | b8e0a3dbdd61877050328c9ed5ad72922c330a97 (patch) | |
tree | 1bb438e6653850873906400130d4320649cb4c3e /apps/files_external/lib | |
parent | 3fd55cb4df80b6434cc5f028f80f1419b3f79202 (diff) | |
download | nextcloud-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/files_external/lib')
-rw-r--r-- | apps/files_external/lib/BackgroundJob/CredentialsCleanup.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/lib/BackgroundJob/CredentialsCleanup.php b/apps/files_external/lib/BackgroundJob/CredentialsCleanup.php index 07b66e2ecb6..138d4d7de2d 100644 --- a/apps/files_external/lib/BackgroundJob/CredentialsCleanup.php +++ b/apps/files_external/lib/BackgroundJob/CredentialsCleanup.php @@ -29,6 +29,7 @@ use OCA\Files_External\Lib\Auth\Password\LoginCredentials; use OCA\Files_External\Lib\StorageConfig; use OCA\Files_External\Service\UserGlobalStoragesService; use OCP\AppFramework\Utility\ITimeFactory; +use OCP\BackgroundJob\IJob; use OCP\BackgroundJob\TimedJob; use OCP\Security\ICredentialsManager; use OCP\IUser; @@ -53,6 +54,7 @@ class CredentialsCleanup extends TimedJob { // run every day $this->setInterval(24 * 60 * 60); + $this->setTimeSensitivity(IJob::TIME_INSENSITIVE); } protected function run($argument) { |