You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sentry is reporting that constance is performing a n + 1 query whenever the main page of my website loads. Strangely the main page does not use any configuration values from constance (as far as I can tell).
Repeating query
SELECT "constance_config"."id", "constance_config"."key", "constance_config"."value" FROM "constance_config" WHERE "constance_config"."key" = %s LIMIT 21
System configuration
Django version: 4.1.3
Python version: CPython 3.10.6
Django-Constance version: [database] 2.9.1
The text was updated successfully, but these errors were encountered:
Apparently the main page uses some configuration values which I forgot about, which was revealed with django-debug-toolbar (thanks @sergei-iurchenko !) I've decided to leave them as the page is cached so it's not such a performance concern.
Describe the problem
Sentry is reporting that constance is performing a n + 1 query whenever the main page of my website loads. Strangely the main page does not use any configuration values from constance (as far as I can tell).
Repeating query
System configuration
The text was updated successfully, but these errors were encountered: