mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-14 17:13:25 -05:00
add gevent monkeypatching
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
from flask import Flask
|
from gevent import monkey
|
||||||
from werkzeug.serving import WSGIRequestHandler
|
|
||||||
|
|
||||||
from app import create_app
|
monkey.patch_all()
|
||||||
|
|
||||||
|
from flask import Flask # noqa
|
||||||
|
from werkzeug.serving import WSGIRequestHandler # noqa
|
||||||
|
|
||||||
|
from app import create_app # noqa
|
||||||
|
|
||||||
WSGIRequestHandler.version_string = lambda self: "SecureServer"
|
WSGIRequestHandler.version_string = lambda self: "SecureServer"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user