Browse Source

jfinal 4.9

James 5 years ago
parent
commit
2d155fb4d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/jfinal/template/io/WriterBuffer.java

+ 1 - 1
src/main/java/com/jfinal/template/io/WriterBuffer.java

@@ -22,7 +22,7 @@ package com.jfinal.template.io;
 public class WriterBuffer {
 	
 	private static final int MIN_BUFFER_SIZE = 64;					// 缓冲区最小 64 字节
-	private static final int MAX_BUFFER_SIZE = 1024 * 1024 * 10;		// 缓冲区最大 10M 字节
+	private static final int MAX_BUFFER_SIZE = 1024 * 1024 * 2;		// 缓冲区最大 2M 字节
 	
 	private int bufferSize = 2048;									// 缓冲区大小