|
1 | 1 | /*
|
2 |
| - * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
| 2 | + * Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
4 | 4 | *
|
5 | 5 | * This code is free software; you can redistribute it and/or modify it
|
@@ -68,17 +68,11 @@ public abstract class AbstractConnectTimeoutHandshake {
|
68 | 68 |
|
69 | 69 | static List<List<Duration>> TIMEOUTS = List.of(
|
70 | 70 | // connectTimeout HttpRequest timeout
|
71 |
| - Arrays.asList( NO_DURATION, ofSeconds(1) ), |
72 |
| - Arrays.asList( NO_DURATION, ofSeconds(2) ), |
73 |
| - Arrays.asList( NO_DURATION, ofMillis(500) ), |
| 71 | + Arrays.asList( NO_DURATION, ofMillis(100) ), |
74 | 72 |
|
75 |
| - Arrays.asList( ofSeconds(1), NO_DURATION ), |
76 |
| - Arrays.asList( ofSeconds(2), NO_DURATION ), |
77 |
| - Arrays.asList( ofMillis(500), NO_DURATION ), |
| 73 | + Arrays.asList( ofMillis(100), NO_DURATION ), |
78 | 74 |
|
79 |
| - Arrays.asList( ofSeconds(1), ofMinutes(1) ), |
80 |
| - Arrays.asList( ofSeconds(2), ofMinutes(1) ), |
81 |
| - Arrays.asList( ofMillis(500), ofMinutes(1) ) |
| 75 | + Arrays.asList( ofMillis(100), ofMinutes(1) ) |
82 | 76 | );
|
83 | 77 |
|
84 | 78 | static final List<String> METHODS = List.of("GET" , "POST");
|
|
0 commit comments