mirror of
https://github.com/dev-claw/vripper-project.git
synced 2026-08-19 08:35:41 +02:00
Fix download queue bug
This commit is contained in:
@@ -194,7 +194,7 @@ public class DownloadService {
|
||||
Integer maxPerHost = candidateCount.get(host);
|
||||
if (maxPerHost > 0 && i < max) {
|
||||
candidates.add(downloadJob);
|
||||
candidateCount.put(host, maxPerHost + 1);
|
||||
candidateCount.put(host, maxPerHost - 1);
|
||||
i++;
|
||||
}
|
||||
if (i >= max) {
|
||||
|
||||
Reference in New Issue
Block a user