Removes extra NEEO from thread name (#15779)

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
This commit is contained in:
morph166955 2023-10-20 00:44:56 -05:00 committed by GitHub
parent 7313415ae0
commit e9a2976053
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {