mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-21 18:23:54 -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);
|
||||
} else {
|
||||
PACKAGE_LINKS = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user