Skip to content

Commit 6b479e1

Browse files
committed
fix: Fix always true condition
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 757536e commit 6b479e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/BackgroundJob/RetentionJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function run($argument): void {
103103

104104
$offset = '';
105105
$limit = 1000;
106-
while ($offset !== null) {
106+
while (true) {
107107
$fileIds = $this->tagMapper->getObjectIdsForTags((string)$tag, 'files', $limit, $offset);
108108
$this->logger->debug('Checking retention for ' . count($fileIds) . ' files in this chunk');
109109

0 commit comments

Comments
 (0)