Skip to content

Commit d2dcc50

Browse files
author
mpv1989
committed
fixed docu
1 parent ea72539 commit d2dcc50

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/setup.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ The driver is configured with some default values:
2020
<tr><td>arangodb.password</td><td>Basic Authentication Password</td><td></td></tr>
2121
<tr><td>arangodb.useSsl</td><td>use SSL connection</td><td>false</td></tr>
2222
<tr><td>harangodb.chunksize</td><td>VelocyStream Chunk content-size(bytes)</td><td>30000</td></tr>
23+
<tr><td>arangodb.connections.max</td><td>max number of connections</td><td>1</td></tr>
2324
</table>
2425

2526
To customize the configuration the parameters can be changed in the code...
@@ -51,6 +52,16 @@ To use SSL, you have to set the configuration `useSsl` to `true` and set a `SSLC
5152

5253
``` Java
5354

54-
ArangoDB arangoDB = new ArangoDB.Builder().useSsl(true).sslContext(sc).build();
55+
ArangoDBAsync arangoDB = new ArangoDBAsync.Builder().useSsl(true).sslContext(sc).build();
5556

57+
```
58+
59+
## Connection Pooling
60+
61+
The driver supports connection pooling with a default of 1 maximum connections. To change this value use the method `maxConnections(Integer)` in `ArangoDBAsync.Builder`.
62+
63+
``` Java
64+
65+
ArangoDBAsync arangoDB = new ArangoDBAsync.Builder().maxConnections(8).build();
66+
5667
```

0 commit comments

Comments
 (0)