rethinkdb / rethinkdb_rebirth

The open-source database for the realtime web.
https://rethinkdb.com
Other
1k stars 42 forks source link

Java Driver Connection Timeout #64

Open cn73 opened 5 years ago

cn73 commented 5 years ago

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;

}

thelinuxlich commented 5 years ago

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

Jinex14 commented 5 years ago

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