Mongo.Pool.Poolboy
poolboy implementation of Mongo.Pool.Adapter
.
Summary
run(pool, fun) | Callback implementation for |
start_link(name, opts) | Starts the poolboy pool |
Functions
Callback implementation for Mongo.Pool.Adapter.run/2
.
Starts the poolboy pool.
Options
:pool_size - The number of connections to keep in the pool (default: 10) :max_overflow - The maximum overflow of connections (default: 0) (see poolboy docs)