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:
@@ -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/');
|
||||
|
||||
Reference in New Issue
Block a user