ocfweb icon indicating copy to clipboard operation
ocfweb copied to clipboard

Fix meeting-hours caching

Open ben9583 opened this issue 3 years ago • 1 comments

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.

ben9583 avatar Feb 17 '22 07:02 ben9583

oh wait the tests failed

Kalissaac avatar Mar 05 '22 21:03 Kalissaac