Add charset option to config

This commit is contained in:
Jgunishka 2019-08-21 21:30:47 +03:00
parent 96c4a56722
commit c8958d7b12

View File

@ -17,5 +17,6 @@ public class EmuLinkerExecutor extends ThreadPoolExecutor
// super((config.getInt("server.maxUsers")*2)+10, Integer.MAX_VALUE, 60L, TimeUnit.SECONDS, new SynchronousQueue<Runnable>()); // super((config.getInt("server.maxUsers")*2)+10, Integer.MAX_VALUE, 60L, TimeUnit.SECONDS, new SynchronousQueue<Runnable>());
// super.prestartAllCoreThreads(); // super.prestartAllCoreThreads();
super(5, Integer.MAX_VALUE, 60L, TimeUnit.SECONDS, new SynchronousQueue<Runnable>()); super(5, Integer.MAX_VALUE, 60L, TimeUnit.SECONDS, new SynchronousQueue<Runnable>());
System.setProperty("emulinker.charset", config.getString("emulinker.charset"));
} }
} }