mirror of
https://github.com/astaxie/beego.git
synced 2024-11-24 05:20:54 +00:00
Fix retry amount comment
This commit is contained in:
parent
1b4bb43df0
commit
63b3fc4a99
@ -195,7 +195,7 @@ func (b *BeegoHTTPRequest) Debug(isdebug bool) *BeegoHTTPRequest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Retries sets Retries times.
|
// Retries sets Retries times.
|
||||||
// default is 0 (never retries)
|
// default is 0 (never retry)
|
||||||
// -1 retry indefinitely (forever)
|
// -1 retry indefinitely (forever)
|
||||||
// Other numbers specify the exact retry amount
|
// Other numbers specify the exact retry amount
|
||||||
func (b *BeegoHTTPRequest) Retries(times int) *BeegoHTTPRequest {
|
func (b *BeegoHTTPRequest) Retries(times int) *BeegoHTTPRequest {
|
||||||
|
Loading…
Reference in New Issue
Block a user