Skip to content

Commit c52f4f6

Browse files
minor documentation improvement
1 parent 024609e commit c52f4f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,10 @@ the ``write_only`` argument should be set to ``True`` to disable the creation
288288
of a listening thread. For example::
289289

290290
# connect to the redis queue through Kombu
291-
redis = socketio.KombuManager('redis://', write_only=True)
291+
external_sio = socketio.KombuManager('redis://', write_only=True)
292292
293293
# emit an event
294-
redis.emit('my event', data={'foo': 'bar'}, room='my room')
294+
external_sio.emit('my event', data={'foo': 'bar'}, room='my room')
295295

296296
Note: when using a third party package to manage a message queue such as Redis
297297
or RabbitMQ in conjunction with eventlet or gevent, it is necessary to monkey

0 commit comments

Comments
 (0)