We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a0da70 commit 8a5b177Copy full SHA for 8a5b177
src/main/java/spp/demo/Main.java
@@ -102,8 +102,8 @@ private static void callEndpoint(String endpoint) {
102
HttpURLConnection connection = null;
103
try {
104
connection = (HttpURLConnection) url.openConnection();
105
- connection.setConnectTimeout(5000);
106
- connection.setReadTimeout(5000);
+ connection.setConnectTimeout(10_000);
+ connection.setReadTimeout(10_000);
107
connection.getResponseCode();
108
} catch (Exception ignore) {
109
} finally {
0 commit comments