Skip to content

Commit

Permalink
Bump gevent dependency version
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarolopez committed Jul 23, 2019
1 parent 88c4cf0 commit f6347e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions deepaas/openwhisk/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
import sys

import flask
from gevent import wsgi
try:
from gevent import wsgi as pywsgi # noqa
except ImportError:
from gevent import pywsgi # noqa
from oslo_config import cfg

from deepaas import api
Expand Down Expand Up @@ -101,5 +104,5 @@ def complete(response):


def main():
server = wsgi.WSGIServer((CONF.listen_ip, 8080), proxy, log=None)
server = pywsgi.WSGIServer((CONF.listen_ip, 8080), proxy, log=None)
server.serve_forever()
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Flask>=1.0.2
Werkzeug>=0.15.0
stevedore>=1.20.0 # Apache-2.0

gevent==1.2.1
gevent==1.4.0

0 comments on commit f6347e2

Please sign in to comment.