Change how default value of sshd.threads is computed

Increase multiplier used to compute sshd.threads from 1.5 to 2. This way
more ssh connections can be handled by default by gerrit.

Gerrit SSH channel is not only used by human users but also by bots like
CI and monitoring servers (eg. frequently checking caches and/or queues
of Gerrit).

Change-Id: If018ae277ae2218309f5f9c60ca522b5dd2a2c5c
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
This commit is contained in:
Dariusz Luksza
2015-11-09 21:53:29 +01:00
parent 2ebfc28b4b
commit 4b5a416b49
2 changed files with 2 additions and 2 deletions

View File

@@ -3410,7 +3410,7 @@ Number of threads to use when executing SSH command requests.
If additional requests are received while all threads are busy they
are queued and serviced in a first-come-first-served order.
+
By default, 1.5x the number of CPUs available to the JVM.
By default, 2x the number of CPUs available to the JVM.
[[sshd.batchThreads]]sshd.batchThreads::
+