Skip to content

Commit c413d50

Browse files
author
Shlomi Noach
committed
HEAD instead of GET
1 parent 23ce390 commit c413d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/logic/throttler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ func (this *Throttler) collectThrottleHTTPStatus(firstThrottlingCollected chan<-
226226
if url == "" {
227227
return true, nil
228228
}
229-
resp, err := http.Get(url)
229+
resp, err := http.Head(url)
230230
if err != nil {
231231
return false, err
232232
}

0 commit comments

Comments
 (0)