We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afc4280 commit e3a0464Copy full SHA for e3a0464
src/main/java/me/lucko/bytebin/Bytebin.java
@@ -175,6 +175,7 @@ public Bytebin(Configuration config) throws Exception {
175
serverOpts.setCompressionLevel(null);
176
serverOpts.setMaxRequestSize((int) maxContentLength);
177
serverOpts.setIoThreads(config.getInt(Option.IO_THREADS, 32));
178
+ serverOpts.setWorkerThreads(config.getInt(Option.EXECUTOR_POOL_SIZE, 32));
179
180
ExecutionMode executionMode = ExecutionMode.valueOf(
181
config.getString(Option.EXECUTION_MODE, "EVENT_LOOP").toUpperCase(Locale.ROOT)
0 commit comments