xmux - hMaxReusableSecs

This commit is contained in:
mhsanaei
2025-01-01 18:48:47 +01:00
parent 9bc5c1d070
commit 284731deeb
2 changed files with 7 additions and 7 deletions

View File

@@ -293,9 +293,9 @@ class xHTTPStreamSettings extends CommonClass {
xmux = {
maxConcurrency: "16-32",
maxConnections: 0,
cMaxReuseTimes: "64-128",
cMaxLifetimeMs: 0,
hMaxRequestTimes: "800-900",
cMaxReuseTimes: 0,
hMaxRequestTimes: "600-900",
hMaxReusableSecs: "1800-3000",
hKeepAlivePeriod: 0,
},
) {
@@ -330,8 +330,8 @@ class xHTTPStreamSettings extends CommonClass {
maxConcurrency: this.xmux.maxConcurrency,
maxConnections: this.xmux.maxConnections,
cMaxReuseTimes: this.xmux.cMaxReuseTimes,
cMaxLifetimeMs: this.xmux.cMaxLifetimeMs,
hMaxRequestTimes: this.xmux.hMaxRequestTimes,
hMaxReusableSecs: this.xmux.hMaxReusableSecs,
hKeepAlivePeriod: this.xmux.hKeepAlivePeriod,
},
};