Skip to content

Commit

Permalink
small modify
Browse files Browse the repository at this point in the history
  • Loading branch information
tywo45 committed Nov 8, 2019
1 parent d0107c9 commit dcfa9a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/src/main/java/org/tio/utils/Threads.java
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public static ThreadPoolExecutor getGroupExecutor() {
return groupExecutor;
}

LinkedBlockingQueue<Runnable> runnableQueue = new LinkedBlockingQueue<>(4000);
LinkedBlockingQueue<Runnable> runnableQueue = new LinkedBlockingQueue<>();
// ArrayBlockingQueue<Runnable> groupQueue = new ArrayBlockingQueue<>(QUEUE_CAPACITY);
String threadName = "tio-group";
DefaultThreadFactory threadFactory = DefaultThreadFactory.getInstance(threadName, Thread.MAX_PRIORITY);
Expand Down Expand Up @@ -266,7 +266,7 @@ public static SynThreadPoolExecutor getTioExecutor() {
return tioExecutor;
}

LinkedBlockingQueue<Runnable> runnableQueue = new LinkedBlockingQueue<>(4000);
LinkedBlockingQueue<Runnable> runnableQueue = new LinkedBlockingQueue<>();
// ArrayBlockingQueue<Runnable> tioQueue = new ArrayBlockingQueue<>(QUEUE_CAPACITY);
String threadName = "tio-worker";
DefaultThreadFactory defaultThreadFactory = DefaultThreadFactory.getInstance(threadName, Thread.MAX_PRIORITY);
Expand Down

0 comments on commit dcfa9a2

Please sign in to comment.