Skip to content

Commit

Permalink
perf: explicitly enable async handlers in socketio
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhatri1 committed Feb 24, 2020
1 parent c2e8f98 commit 50aa2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gavel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def start_app():
SOCKETIO_REDIS_URL = settings.BROKER_URI
async_mode="eventlet"

socketio = SocketIO(app, async_mode=async_mode, message_queue=SOCKETIO_REDIS_URL)
socketio = SocketIO(app, async_mode=async_mode, message_queue=SOCKETIO_REDIS_URL, async_handlers=True)

import gavel.template_filters # registers template filters

Expand Down

0 comments on commit 50aa2bd

Please sign in to comment.