Only enforce quota on success (#10339)
We should only enforce quotas if no error has been returned. firstErr is safe to access since all goroutines have exited at this point. If `firstErr` hasn't been set by something else return the context error if cancelled.master
parent
21e8440423
commit
bc2ebe0021
Loading…
Reference in new issue