You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,18 @@ Note that you can also use `cradle.setup` to set a global configuration:
65
65
var c = new(cradle.Connection),
66
66
cc = new(cradle.Connection)('173.45.66.92');
67
67
68
+
### Connection pooling ###
69
+
70
+
Due to cache coherence issues, connection pooling is currently only available for non-caching instances. If caching is enabled, only one client will be used internally.
71
+
Otherwise, the number of client connections to be used for handling requests can be set using the `poolsize` variable. The following example creates a cradle connection handle with 32 parallel HTTP connections:
72
+
73
+
var c = new (cradle.Connection)("localhost", 5984, {
0 commit comments