-
Notifications
You must be signed in to change notification settings - Fork 114
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
希望提供重试的功能 #94
Labels
enhancement
New feature or request
Comments
ok,v0.0.4或者v0.0.5会提供该功能 |
|
Closed
算法看完了,只是y = ax + b的变种。外一个随机数防止一起发请求。 伪代码如下 err := GET("www.qq.com).
Filter().
Retry().
Attempt(3). //最多尝试次数
WaitTime(time.Millisecond * 10). //基本等待时间
MaxWaitTime(time.Millisecond * 800). //最长等待时间
Do() @hojit 看下伪代码有没有疑惑的地方。。。。 |
Merged
guonaihong
added a commit
that referenced
this issue
Dec 15, 2019
* 新增重试功能, #94 * 新增测试用例 * merge master 代码 * 重试功能代码基本ok * retry整理文档,和测试 * 清理下用不到的代码 * retry 更新测试代码
@hojit retry功能已经开发完毕,已经合并到master分支,下载最新代码即可。欢迎试用。 |
太棒了。 |
后面有什么要加功能的想法,可以直接提。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
希望可以根据自定义条件进行重试,类似于resty这个golang http库的重试功能。
The text was updated successfully, but these errors were encountered: