mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-08-23 17:51:45 +00:00
perf: adjust default receive window sizes
This commit is contained in:
@@ -16,9 +16,10 @@ const (
|
|||||||
|
|
||||||
DefaultALPN = "hysteria"
|
DefaultALPN = "hysteria"
|
||||||
|
|
||||||
DefaultStreamReceiveWindow = 15728640 // 15 MB/s
|
DefaultStreamReceiveWindow = 16777216 // 16 MB
|
||||||
DefaultConnectionReceiveWindow = 67108864 // 64 MB/s
|
DefaultConnectionReceiveWindow = DefaultStreamReceiveWindow * 5 / 2 // 40 MB
|
||||||
DefaultMaxIncomingStreams = 1024
|
|
||||||
|
DefaultMaxIncomingStreams = 1024
|
||||||
|
|
||||||
DefaultMMDBFilename = "GeoLite2-Country.mmdb"
|
DefaultMMDBFilename = "GeoLite2-Country.mmdb"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user