Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jun 16, 2011
  1. @benoitc

    one possibility to fix reload using Django 'un_gunicorn' command with

    benoitc committed would be to consider that reload == reexec. So we are making
    sure we reload all modules. But with this solution the process id will
    change and some supervisor may not be abble to detect the change if they
    aren't using the pidfile. (In other word we should strongly advise
    people to use gunicorn_django command if they want HUP support.)
Commits on Jun 15, 2011
  1. @davisp

    Disable attempt at reloading Django modules.

    davisp committed
    This appears to be causing errors in user code so we decided
    to disable it until we can find a cause or better method for
    reloading Django.
  2. @davisp

    Fix bug in Arbiter.manage_workers.

    davisp committed
    My fix yesterday was broken when sorting workers. Thanks to
    Sabin Iacob for the report.
Commits on Jun 14, 2011
  1. @davisp

    Avoid race condition in dict iteration.

    davisp committed
    Its possible that when iterating Arbiter.WORKERS in manage_workers we
    get interupted to handle a SIGCHLD which will pop the child PID from
    the dict which results in a "dict changed size while iterating
    error. Reported on IRC. Simple fix is to just copy the dict into a
    list that we iterate.
Commits on Jun 6, 2011
  1. @davisp

    Fixed Tornado worker exiting.

    davisp committed
    Thanks to Masahiro Nakagawa for the report and patch.
    Fixes #216
Commits on Jun 2, 2011
  1. @davisp
Commits on May 18, 2011
  1. @benoitc

    update doc

    benoitc committed
  2. @benoitc
Commits on May 11, 2011
  1. @WoLpH @benoitc
  2. @benoitc

    add Michael Schurter to THANKS

    benoitc committed
  3. @schmichael @benoitc

    Remove unneeded lambda

    schmichael committed with benoitc
  4. @benoitc

    fix import.

    benoitc committed
  5. @benoitc

    add missing GeventWSGIWorker

    benoitc committed
  6. @benoitc

    add Denis Bilenko to the thanks

    benoitc committed
  7. @benoitc

    fix typo catched by pyflakes

    denis committed with benoitc
  8. @benoitc

    fix compatibility with gevent 0.14 dev version

    denis committed with benoitc
    Move "import gevent.wsgi" into a separate module, which is not
    imported if pywsgi worker is requested. (The gevent.wsgi currently
    not provided by gevent trunk but pywsgi works fine.)
  9. @akavlie @benoitc
  10. @benoitc

    i hate my kbd. Real fix

    benoitc committed
  11. @benoitc

    fix fbsd support

    benoitc committed
  12. @benoitc
  13. @benoitc

    useless debug info

    benoitc committed
  14. @benoitc

    after multiple attempts it's easier to just reload the app. People using

    benoitc committed have to use USR2 signal if they want to upgrade the django
    version instread of HUP. On the other hand, upgrading django version
    with HUP is possible with gunicorn_django command.
  15. @davisp @benoitc
  16. @davisp @benoitc

    Fixed typo in deploy docs.

    davisp committed with benoitc
  17. @davisp @benoitc
  18. @davisp @benoitc

    Regenerate site content.

    davisp committed with benoitc
  19. @davisp @benoitc

    Fix hook function names.

    davisp committed with benoitc
    The names were being rendered into the online docs and
    causing confusion.
  20. @davisp @benoitc

    Empty chunks incorrectly signal end of response.

    davisp committed with benoitc
    If an app iterator attempts to send an empty string to the client
    while using chunked transfer encoding it incorrectly signals the
    end of the transfer. This patch just ignores empty strings that
    are yielded by the application.
Commits on Apr 25, 2011
  1. @davisp

    Use the newer cpu_count method in docs.

    davisp committed
    Updated docs to show the use of the cpu_count function in the
    multiprocessing module.
    Thanks to Fabian Topfstedt for the update.
    Fixes #202
Commits on Apr 24, 2011
  1. @b3no

    fix issue #195. Thanks!

    b3no committed
  2. @b3no

    django load settings before we launch every worker. This

    b3no committed
    change remove it from loaded modules on reload. While we are here we
    remove any django module preloaded so we can upgrade django version to
    on HUP. fix issue #197.
Commits on Apr 23, 2011
  1. @b3no

    oups typo

    b3no committed
  2. @b3no


    b3no committed
  3. @b3no
Commits on Apr 19, 2011
  1. @davisp

    Fixed --pid option in deploy docs.

    davisp committed
    Thanks to Miguel Araujo for spotting it.
    Fixes #198
Something went wrong with that request. Please try again.