SamLab17 / HelpHours

Web app for managing online help hours
GNU General Public License v3.0
2 stars 1 forks source link

Generate Serialized Queue on Modification #56

Closed SamLab17 closed 4 years ago

SamLab17 commented 4 years ago

Description

Currently, the queue is being serialized into a JSON for every request to /queue made. Instead, we can generate the JSON whenever the queue is changed (someone is added or removed) and keep returning that version of the JSON until the queue is modified again.

This should drastically speed up the /queue route which is by far the most frequently called.