try to force gevent monkey patching earlier

This commit is contained in:
Kenneth Kehl
2025-07-28 11:17:00 -07:00
parent 6f663c83eb
commit 99585ae9f0
6 changed files with 12 additions and 11 deletions

View File

@@ -1,11 +1,7 @@
from gevent import monkey
from flask import Flask
from werkzeug.serving import WSGIRequestHandler
monkey.patch_all()
from flask import Flask # noqa
from werkzeug.serving import WSGIRequestHandler # noqa
from app import create_app # noqa
from app import create_app
WSGIRequestHandler.version_string = lambda self: "SecureServer"