File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,6 @@ through the ``RedisManager`` class. This class takes the same arguments as
276276``KombuManager ``, but connects directly to a Redis store using the queue's
277277pub/sub functionality::
278278
279-
280279 mgr = socketio.RedisManager('redis://')
281280 sio = socketio.Server(client_manager=mgr)
282281
@@ -294,6 +293,11 @@ of a listening thread. For example::
294293 # emit an event
295294 redis.emit('my event', data={'foo': 'bar'}, room='my room')
296295
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
298+ patch the Python standard library, so that these packages access coroutine
299+ friendly library functions and classes.
300+
297301Deployment
298302----------
299303
You can’t perform that action at this time.
0 commit comments