Raise proxy connection limit to 80
This commit is contained in:
@@ -13,7 +13,7 @@ const DEFAULT_MAX_CHUNK_BYTES = 16 * 1024 * 1024;
|
||||
const DEFAULT_CHUNKS_PER_CONNECTION = 8;
|
||||
const DEFAULT_PROXY_ATTEMPTS = 3;
|
||||
const DEFAULT_CONNECTION_LIMIT = 32;
|
||||
const MAX_CONNECTION_LIMIT = 40;
|
||||
const MAX_CONNECTION_LIMIT = 80;
|
||||
const PROXY_PROBE_END = 1;
|
||||
const MAX_REDIRECTS = 5;
|
||||
const MAX_SEGMENTS = 4_096;
|
||||
|
||||
+1
-1
@@ -618,7 +618,7 @@ export function normalizeSettings(settings: AppSettings): AppSettings {
|
||||
proxyDownloadEnabled: Boolean(settings.proxyDownloadEnabled),
|
||||
proxyListPath: asText(settings.proxyListPath).slice(0, 4096),
|
||||
proxyApiProxyIndex: clampNumber(settings.proxyApiProxyIndex, defaults.proxyApiProxyIndex, 1, 100000),
|
||||
proxyConnectionsPerDownload: clampNumber(settings.proxyConnectionsPerDownload, defaults.proxyConnectionsPerDownload, 2, 40),
|
||||
proxyConnectionsPerDownload: clampNumber(settings.proxyConnectionsPerDownload, defaults.proxyConnectionsPerDownload, 2, 80),
|
||||
autoUpdateCheck: Boolean(settings.autoUpdateCheck),
|
||||
updateRepo: migrateUpdateRepo(asText(settings.updateRepo), defaults.updateRepo),
|
||||
clipboardWatch: Boolean(settings.clipboardWatch),
|
||||
|
||||
@@ -6080,7 +6080,7 @@ export function App(): ReactElement {
|
||||
maxParallelExtract: [1, 8, 2],
|
||||
reconnectWaitSeconds: [10, 600, 45],
|
||||
proxyApiProxyIndex: [1, 100000, 1],
|
||||
proxyConnectionsPerDownload: [2, 40, 32]
|
||||
proxyConnectionsPerDownload: [2, 80, 32]
|
||||
};
|
||||
const bounds = numericLimits[fieldId as keyof RendererSettingsDraft];
|
||||
if (bounds) {
|
||||
|
||||
@@ -460,9 +460,9 @@ export function buildSettingsFormViewModel({
|
||||
label: "Proxy-Verbindungen insgesamt",
|
||||
value: String(settings.proxyConnectionsPerDownload),
|
||||
min: 2,
|
||||
max: 40,
|
||||
max: 80,
|
||||
disabled: !settings.proxyDownloadEnabled,
|
||||
help: `Dieses Gesamtlimit wird fair zwischen allen gleichzeitigen Segmentdownloads geteilt. Bei ${settings.maxParallel} aktiven Downloads laufen zusammen höchstens ${settings.proxyConnectionsPerDownload} Segmentverbindungen; 32 ist der Standardwert, 40 das Maximum. Langsame und ausgefallene Proxys werden automatisch zurückgestuft. Kleine Dateien, Teil-Downloads und aktive Geschwindigkeitslimits laufen über den festen API-Proxy.`
|
||||
help: `Dieses Gesamtlimit wird fair zwischen allen gleichzeitigen Segmentdownloads geteilt. Bei ${settings.maxParallel} aktiven Downloads laufen zusammen höchstens ${settings.proxyConnectionsPerDownload} Segmentverbindungen; 32 ist der Standardwert, 80 das Maximum. Langsame und ausgefallene Proxys werden automatisch zurückgestuft. Kleine Dateien, Teil-Downloads und aktive Geschwindigkeitslimits laufen über den festen API-Proxy.`
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user