Skip to content

Commit

Permalink
#1175 increases scheduled thread pool size from 2 to 4 threads. (#1176)
Browse files Browse the repository at this point in the history
Co-authored-by: Dennis Sheirer <dsheirer@github.com>
  • Loading branch information
DSheirer and Dennis Sheirer committed Mar 18, 2022
1 parent 6d2af95 commit 58a0264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/github/dsheirer/util/ThreadPool.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class ThreadPool
{
private final static Logger mLog = LoggerFactory.getLogger(ThreadPool.class);
public static ScheduledExecutorService SCHEDULED =
Executors.newScheduledThreadPool(2, new NamingThreadFactory("sdrtrunk scheduled"));
Executors.newScheduledThreadPool(4, new NamingThreadFactory("sdrtrunk scheduled"));
public static ExecutorService CACHED =
Executors.newCachedThreadPool(new NamingThreadFactory("sdrtrunk cached"));

Expand Down

0 comments on commit 58a0264

Please sign in to comment.