Add comment

This commit is contained in:
Justin Fudally 2020-03-25 15:41:23 -05:00
parent 64083e4705
commit ca0b822a3d

View File

@ -291,6 +291,7 @@ func (this *Throttler) collectThrottleHTTPStatus(firstThrottlingCollected chan<-
_, err := collectFunc()
if err != nil {
// If an error occurs during the HTTP throttle check, let's throttle to be safe
atomic.StoreInt64(&this.migrationContext.ThrottleHTTPStatusCode, int64(-1))
}