Skip to content

Conversation

prandla
Copy link
Member

@prandla prandla commented Aug 12, 2025

We frequently have a problem where the AWS service gets overloaded right at the end of a contest. I suspect this is because the client-side logic tries to refresh the page the instant the contest ends, when most jury members will have multiple tabs of AWS open (I usually end up with over 10...).

The phase of the contest is used solely to show the remaining time countdown. So instead I computed the phase in the countdown logic itself. This required duplicating the "current phase" logic from python to javascript, but I don't think it's a big deal, because half of this logic was duplicated in that javascript function already.

@prandla prandla closed this Aug 21, 2025
@prandla prandla deleted the aws-no-refresh branch August 21, 2025 13:31
@prandla prandla restored the aws-no-refresh branch August 21, 2025 13:32
@prandla prandla reopened this Aug 21, 2025
@prandla prandla requested a review from veluca93 August 23, 2025 13:52
@prandla prandla merged commit f53345d into cms-dev:main Aug 23, 2025
4 checks passed
@prandla prandla deleted the aws-no-refresh branch August 23, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants