projects
/
osm
/
vim-emu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Do monkey.patch_all() only once.
[osm/vim-emu.git]
/
src
/
emuvim
/
api
/
rest
/
rest_api_endpoint.py
diff --git
a/src/emuvim/api/rest/rest_api_endpoint.py
b/src/emuvim/api/rest/rest_api_endpoint.py
index
a9a863d
..
cefda5f
100755
(executable)
--- a/
src/emuvim/api/rest/rest_api_endpoint.py
+++ b/
src/emuvim/api/rest/rest_api_endpoint.py
@@
-28,7
+28,6
@@
import logging
import threading
from flask import Flask
from flask_restful import Api
import threading
from flask import Flask
from flask_restful import Api
-from gevent import monkey
from gevent.pywsgi import WSGIServer
# need to import total module to set its global variable dcs
from gevent.pywsgi import WSGIServer
# need to import total module to set its global variable dcs
@@
-45,7
+44,6
@@
from monitor import MonitorInterfaceAction, MonitorFlowAction, MonitorLinkAction
import pkg_resources
from os import path
import pkg_resources
from os import path
-monkey.patch_all()
logging.basicConfig()
logging.basicConfig()