hosting_task_gc_count_sites can generate an expensive query

Created on 5 February 2024, about 1 year ago
Updated 19 February 2024, about 1 year ago

Problem/Motivation

hosting_task_gc_count_sites can run a very expensive query, but it can largely be cached since it's mostly dealing with very static data.

Steps to reproduce

Proposed resolution

Cache the result for some time, and maybe invalidate the cache on site deletion.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom steven jones

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024