Increase HTTP read timeout value from 30 to 180 seconds. Helps when querying for managed systems on busy HMC's with many systems.

This commit is contained in:
Mark Nellemann 2022-05-23 13:57:20 +02:00
parent 470c9e4c9d
commit 3e7d3bec97

View file

@ -52,7 +52,7 @@ public class HmcRestClient {
// OkHttpClient timeouts // OkHttpClient timeouts
private final static int CONNECT_TIMEOUT = 30; private final static int CONNECT_TIMEOUT = 30;
private final static int WRITE_TIMEOUT = 30; private final static int WRITE_TIMEOUT = 30;
private final static int READ_TIMEOUT = 30; private final static int READ_TIMEOUT = 180;
private final String baseUrl; private final String baseUrl;
private final String username; private final String username;