Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 3, 2012
Commits on Jun 1, 2012
Commits on May 31, 2012
  1. Py3k support

    authored
Commits on May 25, 2012
  1. Issue #12091: simplify ApplyResult and MapResult with threading.Event

    authored
    Patch by Charles-François Natali
Commits on May 22, 2012
  1. Pool: Support running without TimeoutHandler thread.

    authored
    - The with_*_thread arguments has also been replaced with
      a single `threads=True` argument.
    
    - Two new pool callbacks:
    
        - ``on_timeout_set(job, soft, hard)``
    
            Applied when a task is executed with a timeout.
    
        - ``on_timeout_cancel(job)``
    
            Applied when a timeout is cancelled (the job completed)
  2. Python2.5 fixes

    authored
Commits on May 21, 2012
  1. flake8

    authored
  2. Adds Pool.did_start_ok: For eventloops to verify that the processes d…

    authored
    …id not immediately exit
  3. Pool: Process restart rate protection now only counts process with no…

    authored
    …n-successful exitcodes (to work with maxtasksperchild etc)
Commits on May 18, 2012
  1. Merge branch 'master' into override_semaphore

    authored
    Conflicts:
    	billiard/pool.py
  2. Can now disable task_handler and supervisor threads

    authored
    By setting with_task_thread=False, or with_supervisor_thread=False.
    
    If supervisor is disabled then self.eventmap is updated
    with the fds of all pool processes sentinels pointing to
    self.maintain_pool.
    
    In addition to new callbacks has been added:
       on_process_created= and on_process_down=
    
    Both take a single argument, which is the Process instance
    created/lost, these callbacks can be used to update an event loop
    with new and removed process fds.
Commits on May 17, 2012
  1. Allow specifying custom semaphore

    authored
Commits on May 16, 2012
Commits on May 15, 2012
  1. Pool: Adds option to not start result handler thread, and the possibi…

    authored
    …lity to drain results using epoll/kqueue/select
Commits on May 14, 2012
  1. PEP8ify

    authored
  2. Fixes typo

    authored
Commits on May 11, 2012
  1. Max restart freq is now 100 * processes per second, and takes low val…

    authored
    …ues of maxtasksperchild into account.
  2. Pool: New options max_restart + max_restart_freq

    authored
    This means that the supervisor can't restart processes
    faster than max_restart' times per max_restart_freq seconds.
    
    (like the Erlang supervisor maxR & maxT settings).
    
    The pool is closed and joined if the max restart
    frequency is exceeded.
    
    Previously it would keep restarting very quickly.
    
    The current default value is to stop if it exceeds
    3 restarts in 60 seconds.  This may have to be tweaked.
Commits on May 9, 2012
  1. Fixes rst in CHANGES.txt

    authored
  2. Clean up after exc_info()

    authored
  3. Fixes typo

    authored
Something went wrong with that request. Please try again.