Browse Source
Merge pull request #55290 from nextcloud/fix/noid/exit-expire-trash-backgroundjob
fix: Stop infinite loop in ExpireTrash
pull/55277/head
Andy Scherzinger
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php
|
|
@ -78,6 +78,7 @@ class ExpireTrash extends TimedJob { |
|
|
|
// If the last batch was not full it means that we reached the end of the user list.
|
|
|
|
if ($count < self::USER_BATCH_SIZE) { |
|
|
|
$this->resetOffset(); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|