Browse Source

gevent: patch_all() instead of patch_all(httplib=True)

v2
Igor Chubin 6 years ago
parent
commit
d307c2e084
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      bin/proxy.py
  2. +1
    -1
      bin/srv.py

+ 1
- 1
bin/proxy.py View File

@ -16,7 +16,7 @@ from __future__ import print_function
from gevent.pywsgi import WSGIServer
from gevent.monkey import patch_all
patch_all(httplib=True)
patch_all()
# pylint: disable=wrong-import-position,wrong-import-order
import sys


+ 1
- 1
bin/srv.py View File

@ -3,7 +3,7 @@
from gevent.pywsgi import WSGIServer
from gevent.monkey import patch_all
patch_all(httplib=True)
patch_all()
# pylint: disable=wrong-import-position,wrong-import-order
import sys


Loading…
Cancel
Save