Skip to content

Commit 1154ed8

Browse files
committed
updating timeout comment based on feedback
1 parent 8fcc052 commit 1154ed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/rtl/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func (s *AuthSession) Do(result interface{}, method, ver, path string, reqPars m
134134
} else if s.Config.Context != nil {
135135
ctx = s.Config.Context
136136
} else {
137-
// create request context with timeout
137+
// create request context with timeout from options or else config or else 120 seconds
138138
var timeoutInSeconds int32 = 120 //seconds
139139
if s.Config.Timeout != 0 {
140140
timeoutInSeconds = s.Config.Timeout

0 commit comments

Comments
 (0)