mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-22 10:43:57 -04:00
Shuffle third-party package links to perform a load balance
This commit is contained in:
parent
8f5e2084ba
commit
d999ede4e0
@ -123,6 +123,7 @@ public final class TerracottaMetadata {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Collections.shuffle(packageLinks);
|
||||||
PACKAGE_LINKS = Collections.unmodifiableList(packageLinks);
|
PACKAGE_LINKS = Collections.unmodifiableList(packageLinks);
|
||||||
} else {
|
} else {
|
||||||
PACKAGE_LINKS = null;
|
PACKAGE_LINKS = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user