Dump torrents job

This commit is contained in:
Ben Sarmiento
2024-05-26 03:49:16 +02:00
parent 249eebbea9
commit 17059e6a4a
5 changed files with 114 additions and 9 deletions

View File

@@ -362,7 +362,7 @@ func (rd *RealDebrid) GetDownloads() []Download {
return nil
}
const maxItems = 50000
maxItems := rd.cfg.GetDownloadsLimit()
// reset allDownloads
allDownloads := []Download{}