diff --git a/docs/Drivers/Java/Reference/Setup.md b/docs/Drivers/Java/Reference/Setup.md index 1dbe1cf5f..4ab7adc87 100644 --- a/docs/Drivers/Java/Reference/Setup.md +++ b/docs/Drivers/Java/Reference/Setup.md @@ -177,8 +177,8 @@ ArangoDB arangoDB = new ArangoDB.Builder() ## Connection time to live -Since version 4.4 the driver supports setting a TTL for connections managed -by the internal connection pool. +Since version 4.4 the driver supports setting a TTL (time to life) in milliseconds +for connections managed by the internal connection pool. ```Java ArangoDB arango = new ArangoDB.Builder() diff --git a/src/main/java/com/arangodb/ArangoDB.java b/src/main/java/com/arangodb/ArangoDB.java index 1a7b4a73c..6bf3897c1 100644 --- a/src/main/java/com/arangodb/ArangoDB.java +++ b/src/main/java/com/arangodb/ArangoDB.java @@ -239,7 +239,7 @@ public Builder maxConnections(final Integer maxConnections) { * Set the maximum time to life of a connection. After this time the connection will be closed automatically. * * @param connectionTtl - * the maximum time to life of a connection. + * the maximum time to life of a connection in milliseconds * @return {@link ArangoDB.Builder} */ public Builder connectionTtl(final Long connectionTtl) {