|
@@ -17,8 +17,6 @@ import org.smartboot.http.server.HttpRequestProtocol;
|
|
|
import org.smartboot.http.server.handle.HttpHandle;
|
|
|
import org.smartboot.http.server.handle.RouteHandle;
|
|
|
import org.smartboot.socket.StateMachineEnum;
|
|
|
-import org.smartboot.socket.extension.plugins.MonitorPlugin;
|
|
|
-import org.smartboot.socket.extension.plugins.SocketOptionPlugin;
|
|
|
import org.smartboot.socket.extension.processor.AbstractMessageProcessor;
|
|
|
import org.smartboot.socket.transport.AioQuickServer;
|
|
|
import org.smartboot.socket.transport.AioSession;
|
|
@@ -78,7 +76,7 @@ public class Bootstrap {
|
|
|
processor.stateEvent(session, stateMachineEnum, throwable);
|
|
|
}
|
|
|
};
|
|
|
- messageProcessor.addPlugin(new MonitorPlugin(5));
|
|
|
+// messageProcessor.addPlugin(new MonitorPlugin(5));
|
|
|
// messageProcessor.addPlugin(new SocketOptionPlugin());
|
|
|
|
|
|
int cpuNum = Runtime.getRuntime().availableProcessors();
|