Merge pull request #16369 from wojtek-t/fix_handshake
Fix timeoutSeconds parameter
This commit is contained in:
commit
fd6daea02e
@ -466,7 +466,8 @@ func (r *Request) TimeoutSeconds(d time.Duration) *Request {
|
|||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
if d != 0 {
|
if d != 0 {
|
||||||
r.Param("timeoutSeconds", d.String())
|
timeout := int64(d.Seconds())
|
||||||
|
r.Param("timeoutSeconds", strconv.FormatInt(timeout, 10))
|
||||||
}
|
}
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user