aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/User
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-10-07 17:36:55 +0200
committerprovokateurin <kate@provokateurin.de>2024-10-08 11:26:53 +0200
commit54ec472d9a2c8a3d3c5daf0594bb887b11a81614 (patch)
tree98660989fcc8c32c938491e7da51ea3afbea5fa3 /lib/private/User
parentd7aff6c1500fb85269945064d4c34085c4240425 (diff)
downloadnextcloud-server-54ec472d9a2c8a3d3c5daf0594bb887b11a81614.tar.gz
nextcloud-server-54ec472d9a2c8a3d3c5daf0594bb887b11a81614.zip
fix(BackgroundJobs): Adjust intervals and time sensitivities
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/User')
-rw-r--r--lib/private/User/BackgroundJobs/CleanupDeletedUsers.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/private/User/BackgroundJobs/CleanupDeletedUsers.php b/lib/private/User/BackgroundJobs/CleanupDeletedUsers.php
index 3c1b73637ac..f999031a2a9 100644
--- a/lib/private/User/BackgroundJobs/CleanupDeletedUsers.php
+++ b/lib/private/User/BackgroundJobs/CleanupDeletedUsers.php
@@ -12,7 +12,6 @@ use OC\User\Manager;
use OC\User\PartiallyDeletedUsersBackend;
use OC\User\User;
use OCP\AppFramework\Utility\ITimeFactory;
-use OCP\BackgroundJob\IJob;
use OCP\BackgroundJob\TimedJob;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\IConfig;
@@ -26,8 +25,8 @@ class CleanupDeletedUsers extends TimedJob {
private LoggerInterface $logger,
) {
parent::__construct($time);
- $this->setTimeSensitivity(IJob::TIME_INSENSITIVE);
- $this->setInterval(24 * 3600);
+ $this->setTimeSensitivity(self::TIME_INSENSITIVE);
+ $this->setInterval(24 * 60 * 60);
}
protected function run($argument): void {