-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrige le nombre de sessions rapporté par Munin (#6636)
Bug introduit par 2b2215e (PR #6021), où le backend pour gérer les sessions passe de django.contrib.sessions.backends.cached_db à zds.utils.custom_cached_db_backend, ce qui change la table utilisée pour stocker les sessions et le modèle à utiliser pour les manipuler. La vue qui compte le nombre de sessions pour Munin n'a pas été mise à jour pour utiliser le nouveau modèle. - Utilise les classes de sessions définies dans les paramètres, plutôt que forcément django.contrib.sessions - Ajoute un test pour vérifier que le nombre de sessions rapporté par Munin est correct - Renomme l'import DBStore en CachedDBStore pour éviter une confusion sur quel backend est utilisé pour stocker les sessions
- Loading branch information
1 parent
23c78ec
commit 30d805b
Showing
4 changed files
with
35 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters