Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix meeting-hours caching #755

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Fix meeting-hours caching #755

wants to merge 11 commits into from

Conversation

ben9583
Copy link
Member

@ben9583 ben9583 commented Feb 17, 2022

The meeting hours API has some endpoints that are time sensitive (/api/meetings/current, /api/meetings/next) that were previously cached for a long time, meaning the API would return out-of-date results for both of these. This pr fixes that by using a 5-second periodic call, which is also the method the computer availability API uses.

The endpoint /api/meetings/list is not affected by this change.

Copy link
Member

@Kalissaac Kalissaac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@Kalissaac
Copy link
Member

oh wait the tests failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants