Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amélioration temps de calcul hiérarchisation onglet 9 #101

Merged

Conversation

JulienCorny
Copy link
Contributor

La durée du calcul de la hiérarchisation dans l'onglet 9 était liée à la génération de la vue pr_zh.rb_notes_summary. En la convertissant en vue matérialisée, le calcul est désormais presque instantané.

Cela nécessite un rafraîchissement régulier de cette vue matérialisée, qui contient les règles de hiérarchisation des différents bassins versants. Cette PR intègre donc une mise à jour quotidienne automatisée via une tâche Celery.

@JulienCorny JulienCorny requested a review from edelclaux January 6, 2025 14:46
@JulienCorny JulienCorny force-pushed the feat/improves_perf_hierarchy branch from 6b37d13 to 315f7f2 Compare January 6, 2025 14:53
@JulienCorny JulienCorny merged commit 37ff241 into PnX-SI:develop Jan 9, 2025
2 checks passed
@JulienCorny JulienCorny deleted the feat/improves_perf_hierarchy branch January 10, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant