You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When looking to integrate the fix for the fix for #31 into my project, youtui, I noticed that even the individual chunks of a Stream can fail. To then retry streaming I need to start from the start again.
From what I can tell a simple way to resolve could be the addition of a new chunk_with_retries method on the Stream trait, since the requests inside NonLiveStream and LiveStream seem on first glance to be repeatable.
Let me know your thoughts and I'm happy to have a go with a PR.
The text was updated successfully, but these errors were encountered:
This crate already uses the reqwest-retry crate but it only retries for 500..599, 408, and 429 status codes. I will publish a new commit with a new strategy which includes 400..499 and 500..599. But feel free to make new PR maybe your solution would be better
When looking to integrate the fix for the fix for #31 into my project,
youtui
, I noticed that even the individual chunks of aStream
can fail. To then retry streaming I need to start from the start again.From what I can tell a simple way to resolve could be the addition of a new
chunk_with_retries
method on theStream
trait, since the requests insideNonLiveStream
andLiveStream
seem on first glance to be repeatable.Let me know your thoughts and I'm happy to have a go with a PR.
The text was updated successfully, but these errors were encountered: