Closed tadejsv closed 8 months ago
Attention: 3 lines
in your changes are missing coverage. Please review.
Comparison is base (
5758b3a
) 80.85% compared to head (360681d
) 80.86%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Pull Request
Related issue
No issue, all changes described in this PR
What does this PR do?
Using the
select
statement with channels is considered more idiomatic Go than usingtime.Sleep
, and also enables the waiting to be interrupted by context cancellation in the middle of a polling interval.Performance-wise both options are similar (see here).
PR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!