forked from devinus/poolboy
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Change a `queue:len/1` call during a checkout in the ready state to use `queue:is_empty/1`. All operations in poolboy that aren't informational or disaster recovery should now theoretically be O(1). - There is now "transaction" support using `transaction/2`. This will run a user defined function passed the worker checked out in a try block, ensuring that the worker is checked back into the pool should the operation fail. - A `child_spec/2` helper for embedding poolboy pools within your supervisors. - Documentation updates.
- Loading branch information
Devin Torres
committed
Apr 27, 2012
1 parent
fb7014a
commit 4987c10
Showing
4 changed files
with
82 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters