Skip to content

Commit

Permalink
updating timeout comment based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
JCPistell committed Aug 29, 2024
1 parent 8fcc052 commit 1154ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/rtl/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (s *AuthSession) Do(result interface{}, method, ver, path string, reqPars m
} else if s.Config.Context != nil {
ctx = s.Config.Context
} else {
// create request context with timeout
// create request context with timeout from options or else config or else 120 seconds
var timeoutInSeconds int32 = 120 //seconds
if s.Config.Timeout != 0 {
timeoutInSeconds = s.Config.Timeout
Expand Down

0 comments on commit 1154ed8

Please sign in to comment.