Skip to content

Commit

Permalink
Support Redis SSL connection string (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
s7anley authored and miguelgrinberg committed Oct 19, 2017
1 parent 466bbc3 commit 20d766d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_socketio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def init_app(self, app, **kwargs):
channel = self.server_options.pop('channel', 'flask-socketio')
write_only = app is None
if url:
if url.startswith('redis://'):
if url.startswith(('redis://', "rediss://")):
queue_class = socketio.RedisManager
elif url.startswith('zmq'):
queue_class = socketio.ZmqManager
Expand Down

0 comments on commit 20d766d

Please sign in to comment.