Miguel Grinberg
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
src/socketio/async_aiopika_manager.py
|
|
|
@ -82,7 +82,7 @@ class AsyncAioPikaManager(AsyncPubSubManager): # pragma: no cover |
|
|
|
try: |
|
|
|
await self.publisher_exchange.publish( |
|
|
|
aio_pika.Message( |
|
|
|
body=json.dumps(data), |
|
|
|
body=json.dumps(data).encode(), |
|
|
|
delivery_mode=aio_pika.DeliveryMode.PERSISTENT |
|
|
|
), routing_key='*', |
|
|
|
) |
|
|
|
|