Skip to content
This repository

Sep 04, 2012

  1. Andrew Thompson

    Fix backwards compatability with old start_link/2

    If the old API is used, pass PoolArgs as WorkerArgs so that legacy code
    doesn't break.
    
    Also, fix some whitespace screwups.
    authored September 04, 2012

Aug 31, 2012

  1. Devin Torres

    Merge pull request #15 from devinus/adt-eqc-blocking

    Update quickcheck to use blocking/1 and fix uncovered bug
    authored August 31, 2012
  2. Andrew Thompson

    Update quickcheck to use blocking/1 and fix uncovered bug

    Blocking/1 was added in quickcheck 1.27 and allows the test to indicate
    which states might block execution and lets quickcheck find bugs around
    them.
    
    The bug uncovered has to do with when a process holding a worker exits,
    the DOWN monitor fires and poolboy calls supervisor:terminate_child on
    the worker the process held. When the EXIT message comes in for that
    process, we then change the state around such that there is an
    additional worker.
    
    This caused a race condition if there were already checkout messages
    waiting in the mailbox, because the EXIT message would come in behind
    the checkout messages, and so even though we had just killed a worker,
    we'd fail checkouts because we hadn't processed the EXIT yet.
    
    The fix is to call into handle_worker_exit right after we terminate the
    worker, thus updating our state to reflect the actual worker count
    before processing any messages in the mailbox.
    authored August 31, 2012

Aug 14, 2012

  1. Devin Torres

    Add start/1 and start/2 for starting pools without linking to the

    starting process.
    
    This is useful for use in e.g. init_per_suite/1 in Common Tests.
    authored August 14, 2012

Aug 10, 2012

  1. Devin Torres

    Separate pool args and worker args into two lists

    authored August 10, 2012

Aug 09, 2012

  1. Devin Torres

    Fix bug with sending worker_module last in the list of args

    authored August 09, 2012

Aug 08, 2012

  1. Devin Torres

    Let's do R15 too, why not

    authored August 08, 2012
  2. Devin Torres

    Merge branch 'master' of github.com:devinus/poolboy

    authored August 08, 2012
  3. Devin Torres

    Merge pull request #13 from devinus/adt-r14-testing

    Switch to a R14 compatible rebar and re-add R14 testing to travis
    authored August 08, 2012
  4. Andrew Thompson

    Switch to a R14 compatible rebar and re-add R14 testing to travis

    authored August 08, 2012
  5. Devin Torres

    Bump version to 0.8.1

    authored August 08, 2012
  6. Devin Torres

    Merge branch 'master' of github.com:devinus/poolboy

    authored August 08, 2012
  7. Devin Torres

    Limit testing on Travis to R15B01

    authored August 08, 2012
  8. Devin Torres

    Merge pull request #12 from devinus/adt-eqc-fixes

    Fix bugs added by using the ETS table found by quickcheck
    authored August 08, 2012
  9. Andrew Thompson

    Fix bugs added by using the ETS table found by quickcheck

    Additionally, fix some minor issues in the quickcheck test
    authored August 08, 2012
  10. Devin Torres

    Merge branch 'master' of github.com:devinus/poolboy

    authored August 08, 2012
  11. Devin Torres

    Add .travis.yml for Travis CI and build status badge

    authored August 08, 2012

Aug 07, 2012

  1. Devin Torres

    Merge pull request #11 from jamesgolick/master

    poolboy:status/1
    authored August 07, 2012

Jul 04, 2012

  1. James Golick

    I guess people like tests or something

    authored July 03, 2012
  2. James Golick

    add poolboy:status/1 to get stats on a pool

    authored July 03, 2012

Apr 27, 2012

  1. Devin Torres

    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
      supervisors.
    - Documentation updates.
    authored April 27, 2012
  2. Devin Torres

    Use the supervisor the shutdown a worker when it's owner process dies…

    …, allowing it to terminate
    authored April 27, 2012
  3. Devin Torres

    Bump the version

    authored April 27, 2012
  4. Devin Torres

    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.
    authored April 27, 2012

Apr 02, 2012

  1. Devin Torres

    'query' is a historical reserved word in Erlang

    authored April 02, 2012

Mar 22, 2012

  1. Devin Torres

    Bump the version

    authored March 22, 2012
  2. Devin Torres

    Add poolboy_worker behaviour

    authored March 22, 2012
  3. Devin Torres

    Upgrade rebar

    authored March 22, 2012
  4. Devin Torres

    Add poolboy module to registered for systools

    authored March 22, 2012
  5. Devin Torres

    Convert some tabs to spaces

    authored March 22, 2012

Jan 31, 2012

  1. Move to an X.Y.Z semantic versioning system <http://semver.org/>

    authored January 31, 2012
  2. Upgrade rebar

    authored January 31, 2012
  3. Add more targets to .PHONY in Makefile and add get-deps for when we a…

    …dd PropEr
    authored January 31, 2012
  4. Sorry Kurt

    authored January 31, 2012
  5. Devin Torres

    Merge pull request #8 from basho/adt-more-quickcheck-fixes

    Fix bug with incorrect pid in monitor list
    authored January 31, 2012
Something went wrong with that request. Please try again.