Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Migrate gevent's wsgi to pywsgi #1272

Merged
merged 2 commits into from
May 24, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion allennlp/service/server_flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

from flask import Flask, request, Response, jsonify, send_file, send_from_directory
from flask_cors import CORS
from gevent.wsgi import WSGIServer
from gevent.pywsgi import WSGIServer

import psycopg2

Expand Down
2 changes: 1 addition & 1 deletion allennlp/service/server_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

from flask import Flask, request, Response, jsonify, send_file, send_from_directory
from flask_cors import CORS
from gevent.wsgi import WSGIServer
from gevent.pywsgi import WSGIServer

from allennlp.common import JsonDict
from allennlp.common.util import import_submodules
Expand Down