修改参数

back_recharge
jiahuiwen 2021-08-17 18:31:58 +08:00
parent 3efe09db22
commit f9ab39d529
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ public class HandlerLogicThread extends Thread{
if(hasAsyncWorker){
MongoUtil.getInstence().lastUpdate();
}
Thread.sleep(5);
Thread.sleep(2);
return;
}
int userId = packetNetData.getUserId();

View File

@ -39,7 +39,7 @@ public class ProtocolsManager implements ProtocolsAbstract {
private static ProtocolsManager instance = new ProtocolsManager();
private Map<Integer, BaseHandler> handlers = new HashMap<>();
private static ClassLoader classLoader = GameApplication.class.getClassLoader();
public final static int HANDLER_THREAD_NUM = 30;
public final static int HANDLER_THREAD_NUM = 8;
public static HandlerLogicThread[] handlerThreads = new HandlerLogicThread[HANDLER_THREAD_NUM];
static {