0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/discourse-data-explorer/lib
Krzysztof Kotlarek 3a11c435d1
PERF: Reuse cached Data Explorer dashboard reports (#42428)
Previously, Data Explorer reports mounted on the admin dashboard ran
their query every time the dashboard loaded.

This change reuses results cached within the last hour and refreshes
them when they expire.

Before (with 8 data explorer queries pinned)
<img width="694" height="27" alt="Screenshot 2026-08-07 at 12 14 29 pm"
src="https://github.com/user-attachments/assets/2a2af5ca-ed7b-4480-b7b8-14b386ba6bfa"
/>

After
<img width="694" height="26" alt="Screenshot 2026-08-07 at 12 13 48 pm"
src="https://github.com/user-attachments/assets/4d84e980-3aed-4aa4-ac96-7a5c8d82b0fa"
/>
2026-08-07 13:06:26 +08:00
..
discourse_data_explorer PERF: Reuse cached Data Explorer dashboard reports (#42428) 2026-08-07 13:06:26 +08:00
tasks FIX: Enforce max limit for data explorer queries (#38320) 2026-03-06 14:43:43 +08:00