Browse Source

reduce buffer size

v2ray 9 years ago
parent
commit
1e3ebeef59
1 changed files with 2 additions and 2 deletions
  1. 2 2
      transport/internet/kcp/config.go

+ 2 - 2
transport/internet/kcp/config.go

@@ -49,8 +49,8 @@ func DefaultConfig() Config {
 		UplinkCapacity:   5,
 		UplinkCapacity:   5,
 		DownlinkCapacity: 20,
 		DownlinkCapacity: 20,
 		Congestion:       false,
 		Congestion:       false,
-		WriteBuffer:      8 * 1024 * 1024,
-		ReadBuffer:       8 * 1024 * 1024,
+		WriteBuffer:      4 * 1024 * 1024,
+		ReadBuffer:       4 * 1024 * 1024,
 	}
 	}
 }
 }