Skip to content

TxThrottler: dont throttle unless lag (#14789)

Codecov / codecov/patch failed Feb 9, 2024 in 1s

50.00% of diff hit (target 67.25%)

View this Pull Request on Codecov

50.00% of diff hit (target 67.25%)

Annotations

Check warning on line 231 in go/vt/throttler/throttler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

go/vt/throttler/throttler.go#L230-L231

Added lines #L230 - L231 were not covered by tests

Check warning on line 234 in go/vt/throttler/throttler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

go/vt/throttler/throttler.go#L233-L234

Added lines #L233 - L234 were not covered by tests

Check warning on line 238 in go/vt/throttler/throttler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

go/vt/throttler/throttler.go#L236-L238

Added lines #L236 - L238 were not covered by tests

Check warning on line 243 in go/vt/throttler/throttler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

go/vt/throttler/throttler.go#L241-L243

Added lines #L241 - L243 were not covered by tests

Check warning on line 247 in go/vt/throttler/throttler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

go/vt/throttler/throttler.go#L247

Added line #L247 was not covered by tests

Check warning on line 384 in go/vt/vttablet/tabletserver/txthrottler/tx_throttler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

go/vt/vttablet/tabletserver/txthrottler/tx_throttler.go#L383-L384

Added lines #L383 - L384 were not covered by tests

Check warning on line 389 in go/vt/vttablet/tabletserver/txthrottler/tx_throttler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

go/vt/vttablet/tabletserver/txthrottler/tx_throttler.go#L386-L389

Added lines #L386 - L389 were not covered by tests

Check warning on line 392 in go/vt/vttablet/tabletserver/txthrottler/tx_throttler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

go/vt/vttablet/tabletserver/txthrottler/tx_throttler.go#L392

Added line #L392 was not covered by tests