Comment 3 for bug 1888713

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.opendev.org/742493
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=f4b78606bafd0c118de67f6e1ccdad8e0c5f555d
Submitter: Zuul
Branch: master

commit f4b78606bafd0c118de67f6e1ccdad8e0c5f555d
Author: Dan Smith <email address hidden>
Date: Wed Jul 22 10:03:58 2020 -0700

    Make wsgi_app support graceful shutdown

    This makes us wait for all running threads in the tasks_pool threadpool
    before exiting. Tested with uwsgi via devstack, with a long-running
    image conversion task. Indeed, uwsgi triggers a graceful shutdown, we
    wait for the remaining thread, and then exit when the conversion has
    completed.

    Closes-Bug: #1888713
    Change-Id: I0cec7771ab8ce471607825eb4721fee1c6bdd1e6