Skip to content

Reuse stream if it already exists#26

Open
Bartr4 wants to merge 3 commits intotaskiq-python:masterfrom
Lance-Free:fix/check-existing-stream
Open

Reuse stream if it already exists#26
Bartr4 wants to merge 3 commits intotaskiq-python:masterfrom
Lance-Free:fix/check-existing-stream

Conversation

@Bartr4
Copy link

@Bartr4 Bartr4 commented Mar 19, 2026

add_stream can fail with err_code=10058 ("stream name already in use with a different configuration") when the stream already exists and the configuration was enriched by the server. This fix checks if there is an existing stream and reuses it instead of attempting to create the stream again on every restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant