Skip to content

Commit 284731d

Browse files
committed
xmux - hMaxReusableSecs
1 parent 9bc5c1d commit 284731d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

web/assets/js/model/outbound.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ class xHTTPStreamSettings extends CommonClass {
293293
xmux = {
294294
maxConcurrency: "16-32",
295295
maxConnections: 0,
296-
cMaxReuseTimes: "64-128",
297-
cMaxLifetimeMs: 0,
298-
hMaxRequestTimes: "800-900",
296+
cMaxReuseTimes: 0,
297+
hMaxRequestTimes: "600-900",
298+
hMaxReusableSecs: "1800-3000",
299299
hKeepAlivePeriod: 0,
300300
},
301301
) {
@@ -330,8 +330,8 @@ class xHTTPStreamSettings extends CommonClass {
330330
maxConcurrency: this.xmux.maxConcurrency,
331331
maxConnections: this.xmux.maxConnections,
332332
cMaxReuseTimes: this.xmux.cMaxReuseTimes,
333-
cMaxLifetimeMs: this.xmux.cMaxLifetimeMs,
334333
hMaxRequestTimes: this.xmux.hMaxRequestTimes,
334+
hMaxReusableSecs: this.xmux.hMaxReusableSecs,
335335
hKeepAlivePeriod: this.xmux.hKeepAlivePeriod,
336336
},
337337
};

web/html/xui/form/outbound.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -392,12 +392,12 @@
392392
<a-form-item label="Max Reuse Times">
393393
<a-input v-model="outbound.stream.xhttp.xmux.cMaxReuseTimes"></a-input>
394394
</a-form-item>
395-
<a-form-item label="Max Lifetime (ms)">
396-
<a-input v-model="outbound.stream.xhttp.xmux.cMaxLifetimeMs"></a-input>
397-
</a-form-item>
398395
<a-form-item label="Max Request Times">
399396
<a-input v-model="outbound.stream.xhttp.xmux.hMaxRequestTimes"></a-input>
400397
</a-form-item>
398+
<a-form-item label="Max Reusable Secs">
399+
<a-input v-model="outbound.stream.xhttp.xmux.hMaxReusableSecs"></a-input>
400+
</a-form-item>
401401
<a-form-item label='Keep Alive Period'>
402402
<a-input v-model.number="outbound.stream.xhttp.xmux.hKeepAlivePeriod"></a-input>
403403
</a-form-item>

0 commit comments

Comments
 (0)