srobo / srcomp-mixtape

A service which plays tracks throughout a competition.
0 stars 2 forks source link

Reload matches if current delay changes #25

Closed PeterJCLaw closed 4 months ago

PeterJCLaw commented 4 months ago

This allows mixtape to account for changes in delay which don't change the list of current matches (and thus the stream doesn't emit a match event). This can definitely happen if that list is empty (and remains so), perhaps when during another delay.

Relates to https://github.com/srobo/tasks/issues/1207.

PeterJCLaw commented 4 months ago

We deployed this for day 2 of SR2024, however we didn't then have any delays. Manual testing suggested it was probably an improvement, though it wasn't completely clear that it was working as desired.