1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00

reduce default buffer size to 2MB

This commit is contained in:
Darien Raymond 2018-07-30 22:31:49 +02:00
parent d615adab36
commit a4030dd237
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -67,7 +67,7 @@ type PolicyManager interface {
ForSystem() SystemPolicy ForSystem() SystemPolicy
} }
var defaultBufferSize int32 = 10 * 1024 * 1024 var defaultBufferSize int32 = 2 * 1024 * 1024
func init() { func init() {
const key = "v2ray.ray.buffer.size" const key = "v2ray.ray.buffer.size"