Skip to content

Commit 46f12a2

Browse files
authored
Update default values for ScMaxEachPostBytes & ScMinPostsIntervalMs
1 parent 31865ca commit 46f12a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

transport/internet/splithttp/config.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ func (c *Config) GetNormalizedScMaxBufferedPosts() int {
7575
func (c *Config) GetNormalizedScMaxEachPostBytes() RandRangeConfig {
7676
if c.ScMaxEachPostBytes == nil || c.ScMaxEachPostBytes.To == 0 {
7777
return RandRangeConfig{
78-
From: 1000000,
79-
To: 1000000,
78+
From: 250000,
79+
To: 350000,
8080
}
8181
}
8282

@@ -86,8 +86,8 @@ func (c *Config) GetNormalizedScMaxEachPostBytes() RandRangeConfig {
8686
func (c *Config) GetNormalizedScMinPostsIntervalMs() RandRangeConfig {
8787
if c.ScMinPostsIntervalMs == nil || c.ScMinPostsIntervalMs.To == 0 {
8888
return RandRangeConfig{
89-
From: 30,
90-
To: 30,
89+
From: 25,
90+
To: 35,
9191
}
9292
}
9393

0 commit comments

Comments
 (0)