Skip to content

Commit

Permalink
Update topic_writer_asyncio.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alex2211-put authored Sep 23, 2024
1 parent 66d9725 commit 7116965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ydb/_topic_writer/topic_writer_asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ def __init__(self, driver: SupportedDriverType, settings: WriterSettings):
self._new_messages = asyncio.Queue()
self._stop_reason = self._loop.create_future()
self._background_tasks = [
asyncio.create_task(self._connection_loop(), name="connection_loop"),
asyncio.create_task(self._encode_loop(), name="encode_loop"),
asyncio.create_task(self._connection_loop()),
asyncio.create_task(self._encode_loop()),
]

self._state_changed = asyncio.Event()
Expand Down

0 comments on commit 7116965

Please sign in to comment.