diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-02-08 14:46:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-08 14:46:20 +0100 |
commit | c58f8d6025e226404b80f9a5c742d6bca059e539 (patch) | |
tree | f3e85ad250677fdce080644d22540a41af888cb0 /apps/files_external | |
parent | f660032a9b26329f5cce650247df18d735519ddc (diff) | |
parent | b8e0a3dbdd61877050328c9ed5ad72922c330a97 (diff) | |
download | nextcloud-server-c58f8d6025e226404b80f9a5c742d6bca059e539.tar.gz nextcloud-server-c58f8d6025e226404b80f9a5c742d6bca059e539.zip |
Merge pull request #30945 from nextcloud/techdebt/noid/background-job-time-windows
Background job time windows
Diffstat (limited to 'apps/files_external')
-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) { |