mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #2418 from duanhongyi/master
fix: repair django wsgi running error
This commit is contained in:
commit
1ae46ca092
@ -110,6 +110,8 @@ class TornadoWorker(Worker):
|
||||
if not isinstance(app, tornado.web.Application) or \
|
||||
isinstance(app, tornado.wsgi.WSGIApplication):
|
||||
app = WSGIContainer(app)
|
||||
elif not isinstance(app, WSGIContainer):
|
||||
app = WSGIContainer(app)
|
||||
|
||||
# Monkey-patching HTTPConnection.finish to count the
|
||||
# number of requests being handled by Tornado. This
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user