Skip to content

Commit aa664a2

Browse files
committed
fix(splithttp): default value for splithttp
1 parent e7d6756 commit aa664a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/subscription/v2ray.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def add(self, remark: str, address: str, inbound: dict, settings: dict):
6767
multiMode=multi_mode,
6868
sc_max_each_post_bytes=inbound.get('scMaxEachPostBytes', 1000000),
6969
sc_max_concurrent_posts=inbound.get('scMaxConcurrentPosts', 100),
70-
sc_min_posts_interval_ms=inbound.get('scMinPostsIntervalMs', 10),
70+
sc_min_posts_interval_ms=inbound.get('scMinPostsIntervalMs', 30),
7171
)
7272

7373
elif inbound["protocol"] == "vless":
@@ -93,7 +93,7 @@ def add(self, remark: str, address: str, inbound: dict, settings: dict):
9393
multiMode=multi_mode,
9494
sc_max_each_post_bytes=inbound.get('scMaxEachPostBytes', 1000000),
9595
sc_max_concurrent_posts=inbound.get('scMaxConcurrentPosts', 100),
96-
sc_min_posts_interval_ms=inbound.get('scMinPostsIntervalMs', 10),
96+
sc_min_posts_interval_ms=inbound.get('scMinPostsIntervalMs', 30),
9797
)
9898

9999
elif inbound["protocol"] == "trojan":
@@ -119,7 +119,7 @@ def add(self, remark: str, address: str, inbound: dict, settings: dict):
119119
multiMode=multi_mode,
120120
sc_max_each_post_bytes=inbound.get('scMaxEachPostBytes', 1000000),
121121
sc_max_concurrent_posts=inbound.get('scMaxConcurrentPosts', 100),
122-
sc_min_posts_interval_ms=inbound.get('scMinPostsIntervalMs', 10),
122+
sc_min_posts_interval_ms=inbound.get('scMinPostsIntervalMs', 30),
123123
)
124124

125125
elif inbound["protocol"] == "shadowsocks":
@@ -926,7 +926,7 @@ def add(self, remark: str, address: str, inbound: dict, settings: dict):
926926
random_user_agent=inbound.get('random_user_agent', False),
927927
sc_max_each_post_bytes=inbound.get('scMaxEachPostBytes', 1000000),
928928
sc_max_concurrent_posts=inbound.get('scMaxConcurrentPosts', 100),
929-
sc_min_posts_interval_ms=inbound.get('scMinPostsIntervalMs', 10),
929+
sc_min_posts_interval_ms=inbound.get('scMinPostsIntervalMs', 30),
930930
)
931931

932932
mux_json = json.loads(self.mux_template)

0 commit comments

Comments
 (0)