Explorar o código

reduce default buffer size to 2MB

Darien Raymond %!s(int64=7) %!d(string=hai) anos
pai
achega
a4030dd237
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      policy.go

+ 1 - 1
policy.go

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