We can get minor glitches like the theme page displaying "the next theme will be eliminated in 11 hours", suggesting one has been just eliminated while it actually hasn't yet. Currently the elimination logic only triggers when someone saves their votes, which leads to unclear states like this.
Move await themeShortlistService.updateShortlistAutoElimination(event); to somewhere more appropriate (but ideally with some caching trick to avoid doing too many queries on every page view)
We can get minor glitches like the theme page displaying "the next theme will be eliminated in 11 hours", suggesting one has been just eliminated while it actually hasn't yet. Currently the elimination logic only triggers when someone saves their votes, which leads to unclear states like this.
Move
await themeShortlistService.updateShortlistAutoElimination(event);
to somewhere more appropriate (but ideally with some caching trick to avoid doing too many queries on every page view)