aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-10-17 14:52:17 +0200
committerAleksandr Nogikh <nogikh@google.com>2023-10-23 12:07:54 +0000
commitaf8d2e46418eefb127e9fa9309a63fa60ef7fc66 (patch)
tree142d18038b84a3507742c94d84488d45c29d20e2 /pkg
parent6346f51eb10624fc17701d3a24d9f35c902b29a1 (diff)
dashboard: optionally cache displayed bug groups
For upstream Linux namespace, it sometimes takes up to 5-10 seconds to load the main page. That is too much and the reason for this is datastore not being intended for frequent querying of thousands of entities from the database. Let's take a step forward and at least cache the bugs we display on the main page. Once in a minute, query them for all access levels, compress and save to the memcached. Only do it for non-filtered bugs, because otherwise it works fast enough. As the next step we could also take care of terminal pages.
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions