mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-05-12 07:29:12 -04:00
receiving queue
This commit is contained in:
@@ -7,6 +7,7 @@ type Config struct {
|
||||
DownlinkCapacity uint32
|
||||
Congestion bool
|
||||
WriteBuffer uint32
|
||||
ReadBuffer uint32
|
||||
}
|
||||
|
||||
func (this *Config) Apply() {
|
||||
@@ -37,6 +38,7 @@ func DefaultConfig() Config {
|
||||
DownlinkCapacity: 20,
|
||||
Congestion: false,
|
||||
WriteBuffer: 8 * 1024 * 1024,
|
||||
ReadBuffer: 8 * 1024 * 1024,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user