From e9a29760537448614d7cdb7aa202f10e8f48d670 Mon Sep 17 00:00:00 2001 From: morph166955 <53797132+morph166955@users.noreply.github.com> Date: Fri, 20 Oct 2023 00:44:56 -0500 Subject: [PATCH] Removes extra NEEO from thread name (#15779) Signed-off-by: Ben Rosenblum --- .../src/main/java/org/openhab/io/neeo/internal/NeeoApi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/NeeoApi.java b/bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/NeeoApi.java index 4bc0c1b57..a4e4a78a9 100644 --- a/bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/NeeoApi.java +++ b/bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/NeeoApi.java @@ -474,7 +474,7 @@ public class NeeoApi implements AutoCloseable { if (stackSize == 0) { int httpClientId = this.httpClientId + 1; this.httpClientId = httpClientId; - String httpClientIdString = "neeo-" + brainId + "-" + httpClientId; + String httpClientIdString = "neeo-" + brainId.substring(5) + "-" + httpClientId; logger.debug("getHttpClient created new client {} for brain {}", httpClientIdString, brainId); HttpClient httpClient = httpClientFactory.createHttpClient(httpClientIdString); try {