mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-04 21:17:47 +03:00
perf: adjust default receive window sizes
This commit is contained in:
parent
589f4a8256
commit
c7a87b2c43
1 changed files with 4 additions and 3 deletions
|
@ -16,8 +16,9 @@ const (
|
|||
|
||||
DefaultALPN = "hysteria"
|
||||
|
||||
DefaultStreamReceiveWindow = 15728640 // 15 MB/s
|
||||
DefaultConnectionReceiveWindow = 67108864 // 64 MB/s
|
||||
DefaultStreamReceiveWindow = 16777216 // 16 MB
|
||||
DefaultConnectionReceiveWindow = DefaultStreamReceiveWindow * 5 / 2 // 40 MB
|
||||
|
||||
DefaultMaxIncomingStreams = 1024
|
||||
|
||||
DefaultMMDBFilename = "GeoLite2-Country.mmdb"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue