Skip to content

Commit ca0b822

Browse files
author
Justin Fudally
committed
Add comment
1 parent 64083e4 commit ca0b822

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/logic/throttler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ func (this *Throttler) collectThrottleHTTPStatus(firstThrottlingCollected chan<-
291291

292292
_, err := collectFunc()
293293
if err != nil {
294+
// If an error occurs during the HTTP throttle check, let's throttle to be safe
294295
atomic.StoreInt64(&this.migrationContext.ThrottleHTTPStatusCode, int64(-1))
295296
}
296297

0 commit comments

Comments
 (0)