From 21fabcd3f6cebfbe60de7792448669e98dca3196 Mon Sep 17 00:00:00 2001 From: Hakan Tandogan Date: Sun, 20 Aug 2023 14:07:11 +0200 Subject: [PATCH 1/2] Reminder on how to increase webclient threads Signed-off-by: Hakan Tandogan --- .../openhab/src/main/resources/conf/services/runtime.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/distributions/openhab/src/main/resources/conf/services/runtime.cfg b/distributions/openhab/src/main/resources/conf/services/runtime.cfg index dcabe4730e..62bbbbbf53 100644 --- a/distributions/openhab/src/main/resources/conf/services/runtime.cfg +++ b/distributions/openhab/src/main/resources/conf/services/runtime.cfg @@ -275,3 +275,10 @@ # #org.openhab.inbox:autoApprove=false +# For installations on higher end systems with many cores, increasing number of webclient threads +# may be necessary. Usually, this is reported with "Insufficient configured threads" in the logs. +# +# org.openhab.webclient:minThreadsShared = 20 +# org.openhab.webclient:maxThreadsShared = 80 +# org.openhab.webclient:minThreadsCustom = 20 +# org.openhab.webclient:maxThreadsCustom = 40 From e08e4c817614bf6f19946f47564d1dce4144ff58 Mon Sep 17 00:00:00 2001 From: Hakan Tandogan Date: Mon, 21 Aug 2023 22:00:25 +0200 Subject: [PATCH 2/2] Update distributions/openhab/src/main/resources/conf/services/runtime.cfg Co-authored-by: Wouter Born Signed-off-by: Hakan Tandogan --- .../openhab/src/main/resources/conf/services/runtime.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/distributions/openhab/src/main/resources/conf/services/runtime.cfg b/distributions/openhab/src/main/resources/conf/services/runtime.cfg index 62bbbbbf53..e58ddd2e33 100644 --- a/distributions/openhab/src/main/resources/conf/services/runtime.cfg +++ b/distributions/openhab/src/main/resources/conf/services/runtime.cfg @@ -275,6 +275,8 @@ # #org.openhab.inbox:autoApprove=false +################################## WEBCLIENT ################################### + # For installations on higher end systems with many cores, increasing number of webclient threads # may be necessary. Usually, this is reported with "Insufficient configured threads" in the logs. #