Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Jun 25, 2013

  1. Jared Morrow

    Roll poolboy version 0.8.1p1

    jaredmorrow authored

Apr 15, 2013

  1. Bryan Fink

    Merge pull request #2 from branch 'bwf-pool-race'

    beerriot authored
  2. Bryan Fink

    PULSE annotations to support bwf-pool-race branch of riak_core

    The worker_pool_pulse.erl test in riak_core needs poolboy to be compiled with PULSE annotations. This commit provides those.
    beerriot authored

Sep 04, 2012

  1. Andrew Thompson

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

    Vagabond authored
  2. Devin Torres

    Keep the backwards API compatible start_link/1 the same as start/1 fo…

    …r now
    devinus authored
  3. Devin Torres

    Add make qc

    devinus authored
  4. Devin Torres

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

    Fix backwards compatability with old start_link/2
    devinus authored
  5. 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.
    Vagabond authored

Sep 03, 2012

  1. Andrew Thompson

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

    Vagabond authored

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
    devinus authored
  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.
    Vagabond authored

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.
    devinus authored

Aug 10, 2012

  1. Devin Torres

    Separate pool args and worker args into two lists

    devinus authored

Aug 09, 2012

  1. Devin Torres

    Fix bug with sending worker_module last in the list of args

    devinus authored

Aug 08, 2012

  1. Andrew Thompson

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

    Conflicts:
    	.travis.yml
    	README.md
    Vagabond authored
  2. Devin Torres

    Let's do R15 too, why not

    devinus authored
  3. Devin Torres

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

    devinus authored
  4. Devin Torres

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

    Switch to a R14 compatible rebar and re-add R14 testing to travis
    devinus authored
  5. Andrew Thompson

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

    Vagabond authored
  6. Devin Torres

    Bump version to 0.8.1

    devinus authored
  7. Devin Torres

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

    devinus authored
  8. Devin Torres

    Limit testing on Travis to R15B01

    devinus authored
  9. Devin Torres

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

    Fix bugs added by using the ETS table found by quickcheck
    devinus authored
  10. Andrew Thompson

    Fix bugs added by using the ETS table found by quickcheck

    Additionally, fix some minor issues in the quickcheck test
    Vagabond authored
  11. Devin Torres

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

    devinus authored
  12. Devin Torres

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

    devinus authored

Aug 07, 2012

  1. Devin Torres

    Merge pull request #11 from jamesgolick/master

    poolboy:status/1
    devinus authored

Jul 04, 2012

  1. James Golick

    I guess people like tests or something

    jamesgolick authored
  2. James Golick

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

    jamesgolick authored

Jul 02, 2012

  1. Sean Cribbs

    Add chat bot notification.

    seancribbs authored

Jun 28, 2012

  1. Sean Cribbs

    Add Travis CI hook and status image.

    seancribbs authored

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.
    devinus authored
  2. Devin Torres

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

    …, allowing it to terminate
    devinus authored
  3. Devin Torres

    Bump the version

    devinus authored
  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.
    devinus authored
Something went wrong with that request. Please try again.