[server] Speed up deletion

This commit is contained in:
Neeraj Gupta
2025-01-01 13:40:48 +05:30
parent 65a92f1a77
commit ede505d939

View File

@@ -695,7 +695,7 @@ func (c *FileController) CleanupDeletedFiles() {
defer func() {
c.LockController.ReleaseLock(DeletedObjectQueueLock)
}()
items, err := c.QueueRepo.GetItemsReadyForDeletion(repo.DeleteObjectQueue, 1000)
items, err := c.QueueRepo.GetItemsReadyForDeletion(repo.DeleteObjectQueue, 1500)
if err != nil {
log.WithError(err).Error("Failed to fetch items from queue")
return