Fix/async send typos (#322)

This commit is contained in:
cybermaggedon 2025-03-19 00:03:58 +00:00 committed by GitHub
parent 1495666e65
commit 64e42bed6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 32 additions and 32 deletions

View file

@ -169,7 +169,7 @@ class Processor(ConsumerProducer):
model=self.model
)
self.producer.send(r, properties={"id": id})
await self.send(r, properties={"id": id})
print("Done.", flush=True)
@ -202,7 +202,7 @@ class Processor(ConsumerProducer):
model=None,
)
self.producer.send(r, properties={"id": id})
await self.send(r, properties={"id": id})
self.consumer.acknowledge(msg)