Skip to content

Commit bde42b1

Browse files
authored
fix default wait time (#645)
1 parent a909414 commit bde42b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/main/java/com/vesoft/nebula/driver/graph/net/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class Constants {
1717
static final long DEFAULT_HEALTH_CHECK_TIME_MS = 5 * 60 * 1000;
1818
static final boolean DEFAULT_TEST_ON_BORROW = true;
1919
static final boolean DEFAULT_BLOCK_WHEN_EXHAUSTED = false;
20-
static final long DEFAULT_MAX_WAIT_MS = Long.MAX_VALUE / 1000;
20+
static final long DEFAULT_MAX_WAIT_MS = Long.MAX_VALUE / 1_000_000;
2121
static final long DEFAULT_IDLE_EVICT_SCHEDULE_MS = -1;
2222
static final long DEFAULT_MIN_EVICTABLE_IDLE_TIME_MS = 30 * 60 * 1000;
2323
static final boolean DEFAULT_STRICT_SERVER_HEALTHY = false;

0 commit comments

Comments
 (0)