Skip to content

Commit

Permalink
Bump the number of jetty threads to 200
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Nov 6, 2018
1 parent 23995e0 commit d54ebd7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions java/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v3.141.5
========

* Default the number of threads assigned to the server to 200,
which is what it was in 3.13.0

v3.141.0
========

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public int getPort() {

public int getMaxServerThreads() {
int count = config.getInt("server", "max-threads")
.orElse(Runtime.getRuntime().availableProcessors() * 3);
.orElse(200);

if (count < 0) {
throw new ConfigException("Maximum number of server threads cannot be less than 0: " + count);
Expand Down

0 comments on commit d54ebd7

Please sign in to comment.