Skip to content
Commits on Jul 4, 2012
  1. @jamesgolick
Commits on Apr 27, 2012
  1. Several additions and improvements

    - 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
    - Documentation updates.
  2. Performance improvements and simplifications

    - Monitors are now stored in an ETS table. Simple profiling revealed
      that a lot of time was being taken in `lists:keytake/3` looking up the
      refs by pid. This should provide O(1) constant time lookup.
    - Workers are now no longer required to handle `stop` messages. Workers
      are terminated using `supervisor:terminate_child/2` and the shutdown
      strategy is no longer brutal_kill.
    - Other various cleanups.
Commits on Jan 31, 2012
  1. @Vagabond

    Fix issue where the wrong pid was being stored in the list of monitors

    Vagabond committed
    When a pid exited while the pool was full and there were blocking
    checkouts, poolboy would put the pid of the process requesting a worker
    in the monitor tuple along with the monitor ref, instead of the pid of
    the worker.
Commits on Dec 27, 2011
Commits on Sep 30, 2011
  1. Merge cleanup and try to cleanup the tests

    Devin Torres committed
Commits on Sep 29, 2011
Commits on Sep 27, 2011
  1. @skeltoac

    Fix demonitored pids being left in state space and check monitor list…

    skeltoac committed
    … length in all tests. Add user_death test to check that an orphaned worker is killed when a monitored user is reported 'DOWN'.
Commits on Aug 25, 2011
  1. its -> it's

    Devin Torres committed
Commits on Aug 23, 2011
  1. @Vagabond
Commits on Aug 19, 2011
  1. @Vagabond
Commits on Aug 12, 2011
  1. @Vagabond

    Add tests & some hooks to poolboy to let the tests check the pool state

    Vagabond committed
    A bunch of these tests will fail against vanilla poolboy right now.
Something went wrong with that request. Please try again.