[gardena] Fixed illegal character in consumerName (#9407)
* Fixed illegal character in consumerName * Fixed class hashCode Signed-off-by: Gerhard Riegler <gerhard.riegler@gmail.com>pull/9417/head
parent
74bdcb6e85
commit
3b9c3cde8f
|
@ -70,7 +70,8 @@ public class GardenaSmartWebSocket {
|
|||
this.token = token;
|
||||
this.socketId = socketId;
|
||||
|
||||
webSocketClient = webSocketFactory.createWebSocketClient(socketId);
|
||||
String webSocketId = String.valueOf(hashCode());
|
||||
webSocketClient = webSocketFactory.createWebSocketClient(webSocketId);
|
||||
webSocketClient.setConnectTimeout(config.getConnectionTimeout() * 1000L);
|
||||
webSocketClient.setStopTimeout(3000);
|
||||
webSocketClient.setMaxIdleTimeout(150000);
|
||||
|
|
Loading…
Reference in New Issue