This commit is contained in:
Redkale
2018-01-27 09:27:07 +08:00
parent ad690724a6
commit c5eb49d12c
2 changed files with 2 additions and 2 deletions

View File

@@ -87,6 +87,7 @@
如果name是mimetype.property.开头的值将会在进程启动时进行MimeType.add("yyyy", "YYYYYY")操作。
load: 加载文件,多个用;隔开。
默认置入的system.property.的有:
System.setProperty("net.transport.pinginterval", "30");
System.setProperty("convert.json.tiny", "true");
System.setProperty("convert.bson.tiny", "true");
System.setProperty("convert.json.pool.size", "128");

View File

@@ -44,8 +44,6 @@ import org.w3c.dom.*;
* 4、最后进行Service、Servlet与其他资源之间的依赖注入
* </pre>
* <p>
* 编译时需要加入: -XDignore.symbol.file=true
* <p>
* 详情见: https://redkale.org
*
* @author zhangjx
@@ -356,6 +354,7 @@ public final class Application {
public void init() throws Exception {
System.setProperty("java.util.concurrent.ForkJoinPool.common.parallelism", "" + Runtime.getRuntime().availableProcessors() * 4);
System.setProperty("net.transport.pinginterval", "30");
System.setProperty("convert.bson.tiny", "true");
System.setProperty("convert.json.tiny", "true");
System.setProperty("convert.bson.pool.size", "128");