Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/Drivers/Java/Reference/Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/arangodb/ArangoDB.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down