We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 024609e commit c52f4f6Copy full SHA for c52f4f6
docs/index.rst
@@ -288,10 +288,10 @@ the ``write_only`` argument should be set to ``True`` to disable the creation
288
of a listening thread. For example::
289
290
# connect to the redis queue through Kombu
291
- redis = socketio.KombuManager('redis://', write_only=True)
+ external_sio = socketio.KombuManager('redis://', write_only=True)
292
293
# emit an event
294
- redis.emit('my event', data={'foo': 'bar'}, room='my room')
+ external_sio.emit('my event', data={'foo': 'bar'}, room='my room')
295
296
Note: when using a third party package to manage a message queue such as Redis
297
or RabbitMQ in conjunction with eventlet or gevent, it is necessary to monkey
0 commit comments