adjust timeout to 3 min
This commit is contained in:
parent
77aad7eb05
commit
6af7e6545c
@ -101,8 +101,8 @@ abstract public class GoogleAPIExtension {
|
|||||||
@Override
|
@Override
|
||||||
public void initialize(HttpRequest httpRequest) throws IOException {
|
public void initialize(HttpRequest httpRequest) throws IOException {
|
||||||
credential.initialize(httpRequest);
|
credential.initialize(httpRequest);
|
||||||
httpRequest.setConnectTimeout(300 * 60000); // 300 minutes connect timeout
|
httpRequest.setConnectTimeout(3 * 60000); // 3 minutes connect timeout
|
||||||
httpRequest.setReadTimeout(300 * 60000); // 300 minutes read timeout
|
httpRequest.setReadTimeout(3 * 60000); // 3 minutes read timeout
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.setApplicationName(SERVICE_APP_NAME).build();
|
.setApplicationName(SERVICE_APP_NAME).build();
|
||||||
|
Loading…
Reference in New Issue
Block a user