Skip to content

Commit eea76bc

Browse files
committed
shortening timeout
1 parent 0a784f1 commit eea76bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taurosapi.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ func (t *TauAPI) doTauRequest(tauReq *TauReq) (msgdata json.RawMessage, e error)
538538
fmt.Sprintf("\nDump Request [%s]\n", dumpRequest)
539539
}
540540

541-
client := http.Client{Timeout: time.Second * 15} //was 10 seconds, shortening to see if we go for retries
541+
client := http.Client{Timeout: time.Second * 3} //was 10 seconds, shortening to see if we go for retries
542542
start := time.Now()
543543
resp, err := client.Do(httpReq)
544544
if err != nil {

0 commit comments

Comments
 (0)