Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-795

Ensure all gunicorn entry points are monkey patched

    XMLWordPrintable

Details

    • Story
    • Resolution: Not a Bug
    • Major
    • 2020.08.20
    • None
    • quay
    • None
    • Red5 [Quay 185]
    • 0

    Description

      Gunicorn requires monkey patching to be performed before running any code that may rely on it. Most of the gunicorn entry point files are currently monkey patched at the top. There are two files which are not:

      gunicorn_local.py - Only used for local development
      gunicorn_verbs.py - Used for the verbs application

      The purpose of this story is to modify those two files to be consistent with the other gunicorn entry points. There should be no noticeable change or regression caused by this.

       

      From the gunicorn documentation:

      Warning

      Patching too late can lead to unreliable behaviour (for example, some modules may still use blocking sockets) or even errors.

      Attachments

        Issue Links

          Activity

            People

              kmullins@redhat.com Kurtis Mullins (Inactive)
              kmullins@redhat.com Kurtis Mullins (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: