fix(dcrouter): bump @push.rocks/smartproxy to ^25.8.4 and remove custom smartProxy timeout/connection lifetime settings from dcrouter

This commit is contained in:
2026-02-26 17:34:54 +00:00
parent 44c1a3a928
commit dfb3b0ac37
6 changed files with 14 additions and 14 deletions

View File

@@ -476,12 +476,6 @@ export class DcRouter {
...this.options.smartProxyConfig,
routes,
acme: acmeConfig,
// Tighter connection timeouts to prevent connection buildup
socketTimeout: 300_000, // 5 min idle socket timeout
inactivityTimeout: 600_000, // 10 min inactivity timeout
keepAliveInactivityMultiplier: 3, // keep-alive idle = 30 min (10min * 3)
extendedKeepAliveLifetime: 3_600_000, // keep-alive connections live max 1 hour
maxConnectionLifetime: 14_400_000, // absolute max connection lifetime 4 hours
certStore: {
loadAll: async () => {
const keys = await this.storageManager.list('/proxy-certs/');