Skip to content

Commit

Permalink
Less aggressive monkey patching for gevent (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Jun 8, 2019
1 parent 67da0d6 commit 55d02d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flask_socketio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,8 @@ def run_server():
if use_reloader:
# monkey patching is required by the reloader
from gevent import monkey
monkey.patch_all()
monkey.patch_thread()
monkey.patch_time()

def run_server():
self.wsgi_server.serve_forever()
Expand Down

0 comments on commit 55d02d9

Please sign in to comment.