Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 13, 2014
Commits on Dec 3, 2014
Commits on Nov 5, 2014
  1. Jimmy Zöger

    Adds support for FIFO strategy

    JYZR authored
Commits on Oct 29, 2014
Commits on Oct 14, 2014
  1. Paweł Pikuła

    Fix setting monitors on calling processes

    ppikula authored
    When process was in the waiting list it was monitored twice and only one monitor
    was canceled.
Commits on Oct 2, 2014
  1. Saša Jurić

    allow pids in typespecs

    sasa1977 authored
Commits on Aug 10, 2014
  1. Merge branch 'clean_shutdown' of github.com:quiquepaz/poolboy into qu…

    authored
    …iquepaz-clean_shutdown
    
    Conflicts:
    	src/poolboy.erl
Commits on Jul 25, 2014
  1. Enrique
Commits on May 21, 2014
  1. Harlan Lieberman-Berg

    Move gen:start_ret/0 type definition into poolboy.

    hlieberman authored
    Because gen doesn't export the start_ret type, we need to move it
    into poolboy to actually use it.
Commits on May 20, 2014
  1. Saša Jurić

    fix supervisor typespecs

    sasa1977 authored
  2. Saša Jurić
Commits on May 9, 2014
  1. Don't warn about queue type on 17.0

    authored
    Closes #47.
Commits on May 2, 2014
  1. Arjan Scherpenisse

    Use workers as a stack, not a queue

    arjan authored
    Instead of round-robin of worker selection from the pool, we now use a
    LIFO principle to select a worker.  Rationale behind this is that 'hot'
    workers are better workers to use than cold workers.
    
    For instance, in database applications, worker processes might decide to
    close their connection after being idle for a while (see devinus'
    comment on #30). Doing
    round-robin selection would cause a new database connection to be
    established each time for each new worker even when the pressure on the
    pool is low (e.g. with just 1 process doing sequential db queries).
Commits on Jan 14, 2014
  1. Merge pull request #38 from synlay/feature/behaviour_callback_refacto…

    authored
    …ring
    
    Dialyzer behaviour/callback optimizations for newer Erlang releases
  2. David Robakowski

    Replaced behaviour_info/1 with new -callback specs

    drobakowski authored
    WARNING: this commit breaks compatibility with
             Erlang releases prior to R15
Commits on Jan 13, 2014
Commits on Jan 9, 2014
  1. David Robakowski
Commits on Oct 25, 2013
Commits on Oct 10, 2013
Commits on Apr 5, 2013
Commits on Jan 17, 2013
  1. Merge commit 'a50e24e3c30b1b0bddc3511eac5661d110885f6a'

    authored
    Conflicts:
    	src/poolboy.erl
Commits on Dec 2, 2012
  1. Daniil Churikov

    Fix wrong status

    ddosia authored
Commits on Dec 1, 2012
  1. Daniil Churikov
Commits on Nov 17, 2012
  1. Dmitrii 'Mamut' Dimandt

    App version should be 0.9.1

    dmitriid authored
    App version should be 0.9.1. Else, rebar fails:
    
    {version_mismatch,{"/Users/dmitrii.dimandt/Projects/solo/como/deps/poolboy/src/poolboy.app.src",
                       {expected,"0.9.1"},
                       {has,"0.8.1"}}}.
Commits on Sep 28, 2012
  1. lefan
Commits on Sep 4, 2012
  1. Andrew Thompson

    Fix backwards compatability with old start_link/2

    Vagabond authored
    If the old API is used, pass PoolArgs as WorkerArgs so that legacy code
    doesn't break.
    
    Also, fix some whitespace screwups.
Commits on Aug 31, 2012
  1. Andrew Thompson

    Update quickcheck to use blocking/1 and fix uncovered bug

    Vagabond authored
    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. Add start/1 and start/2 for starting pools without linking to the

    authored
    starting process.
    
    This is useful for use in e.g. init_per_suite/1 in Common Tests.
Commits on Aug 10, 2012
Commits on Aug 9, 2012
Something went wrong with that request. Please try again.