diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Security/Bruteforce/CleanupJob.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Security/Bruteforce/CleanupJob.php b/lib/private/Security/Bruteforce/CleanupJob.php index 1e5f83360d5..6faf853760a 100644 --- a/lib/private/Security/Bruteforce/CleanupJob.php +++ b/lib/private/Security/Bruteforce/CleanupJob.php @@ -26,6 +26,7 @@ declare(strict_types=1); namespace OC\Security\Bruteforce; use OCP\AppFramework\Utility\ITimeFactory; +use OCP\BackgroundJob\IJob; use OCP\BackgroundJob\TimedJob; use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IDBConnection; @@ -41,6 +42,7 @@ class CleanupJob extends TimedJob { // Run once a day $this->setInterval(3600 * 24); + $this->setTimeSensitivity(IJob::TIME_INSENSITIVE); } protected function run($argument) { |