Commit fd6daea0 authored by Jerzy Szczepkowski's avatar Jerzy Szczepkowski

Merge pull request #16369 from wojtek-t/fix_handshake

Fix timeoutSeconds parameter
parents 465c5b07 4d117dff
......@@ -466,7 +466,8 @@ func (r *Request) TimeoutSeconds(d time.Duration) *Request {
return r
}
if d != 0 {
r.Param("timeoutSeconds", d.String())
timeout := int64(d.Seconds())
r.Param("timeoutSeconds", strconv.FormatInt(timeout, 10))
}
return r
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment