Browse Source

reduce default buffer size to 2MB

Darien Raymond 7 years ago
parent
commit
a4030dd237
1 changed files with 1 additions and 1 deletions
  1. 1 1
      policy.go

+ 1 - 1
policy.go

@@ -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"