- Require
poolMaxResources
to be not smaller than the number of stripes. - Add support for setting the number of stripes.
- Hide the constructor of
PoolConfig
from the public API and providedefaultPoolConfig
so that future additions toPoolConfig
don't require major version bumps.
- Add
tryWithResource
andtryTakeResource
.
- Rewrite based on
Control.Concurrent.QSem
for better throughput and latency. - Make release of resources asynchronous exceptions safe.
- Remove dependency on
monad-control
. - Expose the
.Internal
module. - Add support for introspection.
- Add
PoolConfig
.