aboutsummaryrefslogtreecommitdiffstats
path: root/core/BackgroundJobs
diff options
context:
space:
mode:
Diffstat (limited to 'core/BackgroundJobs')
-rw-r--r--core/BackgroundJobs/CleanupLoginFlowV2.php2
-rw-r--r--core/BackgroundJobs/GenerateMetadataJob.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/core/BackgroundJobs/CleanupLoginFlowV2.php b/core/BackgroundJobs/CleanupLoginFlowV2.php
index 0a95bf91579..e5bcf00a921 100644
--- a/core/BackgroundJobs/CleanupLoginFlowV2.php
+++ b/core/BackgroundJobs/CleanupLoginFlowV2.php
@@ -19,7 +19,7 @@ class CleanupLoginFlowV2 extends TimedJob {
) {
parent::__construct($time);
- $this->setInterval(3600);
+ $this->setInterval(60 * 60);
}
protected function run($argument): void {
diff --git a/core/BackgroundJobs/GenerateMetadataJob.php b/core/BackgroundJobs/GenerateMetadataJob.php
index c40a1b11f06..f2137374834 100644
--- a/core/BackgroundJobs/GenerateMetadataJob.php
+++ b/core/BackgroundJobs/GenerateMetadataJob.php
@@ -36,8 +36,8 @@ class GenerateMetadataJob extends TimedJob {
) {
parent::__construct($time);
- $this->setTimeSensitivity(\OCP\BackgroundJob\IJob::TIME_INSENSITIVE);
- $this->setInterval(24 * 3600);
+ $this->setTimeSensitivity(self::TIME_INSENSITIVE);
+ $this->setInterval(24 * 60 * 60);
}
protected function run(mixed $argument): void {