Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Java Driver Connection Timeout #64

Open
cn73 opened this issue Nov 30, 2018 · 2 comments
Open

Java Driver Connection Timeout #64

cn73 opened this issue Nov 30, 2018 · 2 comments

Comments

@cn73
Copy link

cn73 commented 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;

}

@cn73 cn73 changed the title Java Driver Connection TImeout Java Driver Connection Timeout Nov 30, 2018
@thelinuxlich
Copy link

We don't have a mantainer to the Java driver right now :(

@Jinex14
Copy link

Jinex14 commented Dec 8, 2018

The driver does not work in Android Studio (java) is there any solution for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants