Skip to content

Commit

Permalink
Update default values for ScMaxEachPostBytes & ScMinPostsIntervalMs
Browse files Browse the repository at this point in the history
  • Loading branch information
RPRX authored Dec 11, 2024
1 parent 31865ca commit 46f12a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions transport/internet/splithttp/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ func (c *Config) GetNormalizedScMaxBufferedPosts() int {
func (c *Config) GetNormalizedScMaxEachPostBytes() RandRangeConfig {
if c.ScMaxEachPostBytes == nil || c.ScMaxEachPostBytes.To == 0 {
return RandRangeConfig{
From: 1000000,
To: 1000000,
From: 250000,
To: 350000,
}
}

Expand All @@ -86,8 +86,8 @@ func (c *Config) GetNormalizedScMaxEachPostBytes() RandRangeConfig {
func (c *Config) GetNormalizedScMinPostsIntervalMs() RandRangeConfig {
if c.ScMinPostsIntervalMs == nil || c.ScMinPostsIntervalMs.To == 0 {
return RandRangeConfig{
From: 30,
To: 30,
From: 25,
To: 35,
}
}

Expand Down

0 comments on commit 46f12a2

Please sign in to comment.