aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/GlobalChannelFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/GlobalChannelFactory.java')
-rw-r--r--src/org/traccar/GlobalChannelFactory.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/org/traccar/GlobalChannelFactory.java b/src/org/traccar/GlobalChannelFactory.java
index a93703286..489207e39 100644
--- a/src/org/traccar/GlobalChannelFactory.java
+++ b/src/org/traccar/GlobalChannelFactory.java
@@ -38,9 +38,7 @@ public class GlobalChannelFactory {
public static ChannelFactory getFactory() {
if(instance == null) {
- instance = new NioServerSocketChannelFactory(
- Executors.newCachedThreadPool(),
- Executors.newCachedThreadPool());
+ instance = new NioServerSocketChannelFactory();
}
return instance;
}