Increase comm timeout to 30 seconds (#15342)
Signed-off-by: Arne Seime <arne.seime@gmail.com>pull/15345/head
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