Skip to content
Commits on Feb 20, 2015
  1. @slfritchie

    Merge pull request #9 from basho/17.4

    slfritchie committed Feb 20, 2015
    Fix types to make Erlang 17 compatible.
  2. @cmeiklejohn

    Fix types to make Erlang 17 compatible.

    cmeiklejohn committed Feb 19, 2015
    Use meck trick for supporting backwards namespaced types.
Commits on Apr 11, 2014
  1. @jaredmorrow

    Use git wildcard in app.src

    jaredmorrow committed Apr 11, 2014
Commits on Jun 25, 2013
  1. @jaredmorrow

    Roll poolboy version 0.8.1p1

    jaredmorrow committed Jun 25, 2013
Commits on Apr 15, 2013
  1. Merge pull request #2 from branch 'bwf-pool-race'

    Bryan Fink committed Apr 15, 2013
  2. PULSE annotations to support bwf-pool-race branch of riak_core

    Bryan Fink committed Apr 11, 2013
    The worker_pool_pulse.erl test in riak_core needs poolboy to be compiled with PULSE annotations. This commit provides those.
Commits on Sep 4, 2012
  1. @Vagabond
  2. @devinus
  3. @devinus

    Add make qc

    devinus committed Sep 4, 2012
  4. @devinus

    Merge pull request #16 from devinus/adt-backwards-compat

    devinus committed Sep 4, 2012
    Fix backwards compatability with old start_link/2
  5. @Vagabond

    Fix backwards compatability with old start_link/2

    Vagabond committed Sep 4, 2012
    If the old API is used, pass PoolArgs as WorkerArgs so that legacy code
    doesn't break.
    
    Also, fix some whitespace screwups.
Commits on Sep 3, 2012
  1. @Vagabond
Commits on Aug 31, 2012
  1. @devinus

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

    devinus committed Aug 31, 2012
    Update quickcheck to use blocking/1 and fix uncovered bug
  2. @Vagabond

    Update quickcheck to use blocking/1 and fix uncovered bug

    Vagabond committed Aug 31, 2012
    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.
Commits on Aug 14, 2012
  1. @devinus

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

    devinus committed Aug 14, 2012
    starting process.
    
    This is useful for use in e.g. init_per_suite/1 in Common Tests.
Commits on Aug 10, 2012
  1. @devinus
Commits on Aug 9, 2012
  1. @devinus
Commits on Aug 8, 2012
  1. @Vagabond

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

    Vagabond committed Aug 8, 2012
    Conflicts:
    	.travis.yml
    	README.md
  2. @devinus

    Let's do R15 too, why not

    devinus committed Aug 8, 2012
  3. @devinus
  4. @devinus

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

    devinus committed Aug 8, 2012
    Switch to a R14 compatible rebar and re-add R14 testing to travis
  5. @Vagabond
  6. @devinus

    Bump version to 0.8.1

    devinus committed Aug 8, 2012
  7. @devinus
  8. @devinus
  9. @devinus

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

    devinus committed Aug 8, 2012
    Fix bugs added by using the ETS table found by quickcheck
  10. @Vagabond

    Fix bugs added by using the ETS table found by quickcheck

    Vagabond committed Aug 8, 2012
    Additionally, fix some minor issues in the quickcheck test
  11. @devinus
  12. @devinus
Commits on Aug 7, 2012
  1. @devinus

    Merge pull request #11 from jamesgolick/master

    devinus committed Aug 7, 2012
    poolboy:status/1
Commits on Jul 4, 2012
  1. @jamesgolick
  2. @jamesgolick
Commits on Jul 2, 2012
  1. @seancribbs

    Add chat bot notification.

    seancribbs committed Jul 2, 2012
Commits on Jun 28, 2012
  1. @seancribbs
Commits on Apr 27, 2012
  1. @devinus

    Several additions and improvements

    devinus committed Apr 27, 2012
    - 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.
Something went wrong with that request. Please try again.