Skip to content

Commit

Permalink
Increase thread pool size
Browse files Browse the repository at this point in the history
  • Loading branch information
hasithaa committed Jan 9, 2024
1 parent 931e925 commit 8682d51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
public class DataReaderThreadPool {

// TODO : Make this configurable, in Ballerina Library.
public static final ExecutorService EXECUTOR_SERVICE = new ThreadPoolExecutor(0, 20, 60L, TimeUnit.SECONDS,
public static final ExecutorService EXECUTOR_SERVICE = new ThreadPoolExecutor(0, 50, 60L, TimeUnit.SECONDS,
new SynchronousQueue<>(),
new DataThreadFactory());

Expand Down

0 comments on commit 8682d51

Please sign in to comment.