Skip to content

Commit 6f68884

Browse files
committed
Correct timeout docs
1 parent 3ba30d9 commit 6f68884

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/com/maxmind/minfraud/WebServiceClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public Builder(int userId, String licenseKey) {
9999

100100
/**
101101
* @param val Timeout in milliseconds to establish a connection to the
102-
* web service. The default is 3000 (3 seconds).
102+
* web service. There is no timeout by default.
103103
* @return Builder object
104104
*/
105105
public WebServiceClient.Builder connectTimeout(int val) {
@@ -150,8 +150,8 @@ public WebServiceClient.Builder locales(List<String> val) {
150150

151151
/**
152152
* @param val readTimeout in milliseconds to read data from an
153-
* established connection to the web service. The default is
154-
* 20000 (20 seconds).
153+
* established connection to the web service. There is no
154+
* timeout by default.
155155
* @return Builder object
156156
*/
157157
public WebServiceClient.Builder readTimeout(int val) {

0 commit comments

Comments
 (0)