Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unwrap from consumer #1305

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Remove unwrap from consumer #1305

merged 1 commit into from
Aug 26, 2024

Conversation

Jarema
Copy link
Member

@Jarema Jarema commented Aug 26, 2024

Although those unwraps seem safe, it's still better not not have app panicking at all.
Even in case of those somehow failing, client will recover by itself on next iteration of the timer.
If Stream is dropped, we also shutdown the task, so dropped sender/receiver should not matter.

Signed-off-by: Tomasz Pietrek [email protected]

Although those unwraps seem safe, it's still better not not have
app panicking at all.
Even in case of those somehow failing, client will recover by itself
on next iteration of the timer.

Signed-off-by: Tomasz Pietrek <[email protected]>
@Jarema Jarema requested a review from caspervonb August 26, 2024 13:06
Copy link
Collaborator

@caspervonb caspervonb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Jarema Jarema merged commit b2fb1b4 into main Aug 26, 2024
12 checks passed
@Jarema Jarema deleted the remove-unwraps branch August 26, 2024 14:49
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.

2 participants