mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-11 23:53:52 -05:00
add gevent monkeypatching
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
from flask import Flask
|
||||
from werkzeug.serving import WSGIRequestHandler
|
||||
from gevent import monkey
|
||||
|
||||
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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user