You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 7, 2022. It is now read-only.
according to official documentation https://www.rethinkdb.com/api/java/ it is seconds, but following the flow of the code, we get to a java.net.Socket, whose timeout is set in ms. I assume it is an error in the java documentation.
in this class are you sure do you intend 20 ms as default?
package com.rethinkdb;
public class RethinkDBConstants {
public static final String DEFAULT_DB_NAME = "test";
public static final String DEFAULT_HOSTNAME = "localhost";
public static final String DEFAULT_AUTHKEY = "";
public static final int DEFAULT_PORT = 28015;
public static final int DEFAULT_TIMEOUT = 20;
}
The text was updated successfully, but these errors were encountered:
cn73
changed the title
Java Driver Connection TImeout
Java Driver Connection Timeout
Nov 30, 2018
according to official documentation https://www.rethinkdb.com/api/java/ it is seconds, but following the flow of the code, we get to a java.net.Socket, whose timeout is set in ms. I assume it is an error in the java documentation.
in this class are you sure do you intend 20 ms as default?
package com.rethinkdb;
public class RethinkDBConstants {
public static final String DEFAULT_DB_NAME = "test";
public static final String DEFAULT_HOSTNAME = "localhost";
public static final String DEFAULT_AUTHKEY = "";
public static final int DEFAULT_PORT = 28015;
public static final int DEFAULT_TIMEOUT = 20;
}
The text was updated successfully, but these errors were encountered: