Conversation
|
Any progress? 🤔 I think this should be applied. I cannot control retrying connection, as it gets done unconditionally! 😥 |
|
It's been a long time, I'll take a look and see what hapenned. |
|
@tolgaerdonmez @dolbin-prime sorry for the delay. I'll get this PR reviewed and merged this weekend. |
| ); | ||
| }); | ||
| if (config.infinite || (config.tryCount ?? 0) > 0) { | ||
| Future.delayed(Duration(seconds: 5), () { |
There was a problem hiding this comment.
I would like to hint to the html spec where they list a retry event which is meant to control the reconnection time in milliseconds.
Adding a field int reconnectTime to RetryConfiguration and use this instead of the static 5s for the timer might be a good starting point. What I am not sure about is if these retry-events should set reconnectTime automatically or if this should be up to the programmer
There was a problem hiding this comment.
Adding a field int reconnectTime to RetryConfiguration and use this instead of the static 5s for the timer might be a good starting point.
I agree with this 🙏
|
|
@pratikbaid3 any update on this PR? this is an essential feature which will be beneficial. Kindly try merging this. |
For #26
I've added a retry configuration, I can modify, if you'll say so. just have a look and let's merge this.