Skip to content

Reuse timers instead of time.After in loops

Codecov / codecov/patch succeeded Oct 9, 2024 in 0s

29.41% of diff hit (target 60.32%)

View this Pull Request on Codecov

29.41% of diff hit (target 60.32%)

Annotations

Check warning on line 309 in bootstrap/bootstrap.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bootstrap/bootstrap.go#L307-L309

Added lines #L307 - L309 were not covered by tests

Check warning on line 314 in bootstrap/bootstrap.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bootstrap/bootstrap.go#L314

Added line #L314 was not covered by tests

Check warning on line 319 in bootstrap/bootstrap.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bootstrap/bootstrap.go#L319

Added line #L319 was not covered by tests

Check warning on line 184 in mfs/repub.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mfs/repub.go#L179-L184

Added lines #L179 - L184 were not covered by tests

Check warning on line 192 in mfs/repub.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

mfs/repub.go#L192

Added line #L192 was not covered by tests