Compare commits

...

1 Commits

Author SHA1 Message Date
6bae692d39 Add tiny async sleep to avoid out of order socket events 2023-09-12 16:52:19 -04:00

View File

@ -43,6 +43,7 @@ class FastAPIEventService(EventServiceBase):
payload=event.get("payload"),
middleware_id=self.event_handler_id,
)
await asyncio.sleep(0.001)
except Empty:
await asyncio.sleep(0.1)