Skip to content

Commit 786ac4b

Browse files
committed
fix: Fix always true condition
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent eca3531 commit 786ac4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/BackgroundJob/RetentionJob.php

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

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

0 commit comments

Comments
 (0)