test article (#104)

Co-authored-by: Igor Lobanov <igor.lobanov@onetwotrip.com>
This commit is contained in:
Ilya Y
2023-11-04 19:44:58 +03:00
committed by GitHub
parent 21316187e0
commit 0da4e110c1
3 changed files with 14 additions and 4 deletions

View File

@@ -142,7 +142,7 @@ class NewReactionNotificator:
class NotificationService:
def __init__(self):
self._queue = asyncio.Queue()
self._queue = asyncio.Queue(maxsize=1000)
async def handle_new_reaction(self, reaction_id):
notificator = NewReactionNotificator(reaction_id)