mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Increase comm timeout to 30 seconds (#15342)
Signed-off-by: Arne Seime <arne.seime@gmail.com>
This commit is contained in:
parent
5dcc5214a6
commit
3080615262
@ -362,7 +362,7 @@ public class MillheatAccountHandler extends BaseBridgeHandler {
|
||||
|
||||
return req.header("Connection", "Keep-Alive").header("X-Zc-Major-Domain", "seanywell")
|
||||
.header("X-Zc-Msg-Name", "millService").header("X-Zc-Sub-Domain", "milltype").header("X-Zc-Seq-Id", "1")
|
||||
.header("X-Zc-Version", "1").method(HttpMethod.POST).timeout(5, TimeUnit.SECONDS)
|
||||
.header("X-Zc-Version", "1").method(HttpMethod.POST).timeout(30, TimeUnit.SECONDS)
|
||||
.content(new BytesContentProvider(gson.toJson(payload).getBytes(StandardCharsets.UTF_8)), CONTENT_TYPE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user