Project

General

Profile

Actions

Développement #114675

open

django-tenant-schemas: mettre en cache les app_labels() dans l'objet routeur

Added by Benjamin Dauvergne 2 months ago. Updated about 1 month ago.

Status:
Résolu (à déployer)
Priority:
Normal
Category:
-
Target version:
-
Start date:
11 February 2026
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

Dans un profiling quand un tenant n'est pas sauté par migrate_schemas on passe quasiment 2/3 secondes dans allow_migrate() à calculer les app_labels (allow_migrate() est appelé pour chaque signal post_migrate x le nombre de d'applications x le nombre de tenants).


Related issues 1 (0 open1 closed)

Related to Hobo - Développement #114362: migrate_schemas: permettre une exécution en parallèleSolution déployéeBenjamin Dauvergne03 February 2026

Actions
Actions #1

Updated by Benjamin Dauvergne 2 months ago

  • Status changed from Nouveau to Solution proposée

🤖 Une pull request concernant ce ticket a été ouverte :

Actions #2

Updated by Benjamin Dauvergne 2 months ago

  • Subject changed from Mettre en cache les app_labels() dans l'objet routeur to django-tenant-schemas: mettre en cache les app_labels() dans l'objet routeur
Actions #3

Updated by Benjamin Dauvergne 2 months ago

Actions #4

Updated by Paul Marillonnet about 2 months ago

  • Status changed from Solution proposée to Solution validée
Actions #5

Updated by Benjamin Dauvergne about 1 month ago

  • Status changed from Solution validée to Résolu (à déployer)
Actions

Also available in: Atom PDF