Assign links outside repair
This commit is contained in:
@@ -366,12 +366,12 @@ func (rd *RealDebrid) GetDownloads() []Download {
|
||||
// reset allDownloads
|
||||
allDownloads := []Download{}
|
||||
page := 1
|
||||
limit := 100
|
||||
limit := 250
|
||||
|
||||
// compute ceiling of totalCount / limit
|
||||
maxPages := (totalCount + limit - 1) / limit
|
||||
rd.log.Debugf("Total downloads count is %d", totalCount)
|
||||
maxParallelThreads := 8
|
||||
maxParallelThreads := 4
|
||||
if maxPages < maxParallelThreads {
|
||||
maxParallelThreads = maxPages
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user