mirror of
https://github.com/nextcloud/server.git
synced 2026-05-17 19:10:50 -04:00
fix: Address review comment
Co-authored-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
66eecb6be9
commit
490c20ae1d
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class TaskProcessingWorkerIsRunning implements ISetupCheck {
|
|||
);
|
||||
}
|
||||
$lastIteration = (int)$this->appConfig->getValueString('core', 'taskprocessing_worker_last_iteration', lazy: true);
|
||||
if ($lastIteration > $this->timeFactory->now()->getTimestamp() - 60 * self::IS_RUNNING_IN_LAST_X_MINUTES) {
|
||||
if ($lastIteration > $this->timeFactory->now()->getTimestamp() - (60 * self::IS_RUNNING_IN_LAST_X_MINUTES)) {
|
||||
return SetupResult::success(
|
||||
$this->l10n->n('The Task Processing worker has run in the last minute.', 'The Task Processing worker has run in the last %n minute.', self::IS_RUNNING_IN_LAST_X_MINUTES)
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue