cardinalitypuzzles / cardboard

Dashboard for managing puzzles and tracking status during a puzzle hunt
MIT License
31 stars 21 forks source link

improve performance of default puzzle tag population #658

Closed rawxfish closed 1 year ago

rawxfish commented 1 year ago

Old code was doing a separate db query for each get_or_create on each default tag.

rawxfish commented 1 year ago

It's also called when you edit the hunt (it's sorta a hacky way to populate or de-populate the default tags)

erwa commented 1 year ago

Gotcha. Thanks for optimizing this!

erwa commented 1 year ago

oh, btw, did you find this performance issue after enabling silk in #656?

rawxfish commented 1 year ago

yes