diff --git a/app/scodoc/sco_edit_matiere.py b/app/scodoc/sco_edit_matiere.py
index 2ae1c15ab..dd9ffa9bd 100644
--- a/app/scodoc/sco_edit_matiere.py
+++ b/app/scodoc/sco_edit_matiere.py
@@ -93,7 +93,7 @@ def do_matiere_create(args):
typ=ScolarNews.NEWS_FORM,
obj=ue["formation_id"],
text=f"Modification de la formation {formation.acronyme}",
- max_frequency=3,
+ max_frequency=10 * 60,
)
formation.invalidate_cached_sems()
return r
@@ -199,7 +199,7 @@ def do_matiere_delete(oid):
typ=ScolarNews.NEWS_FORM,
obj=ue["formation_id"],
text=f"Modification de la formation {formation.acronyme}",
- max_frequency=3,
+ max_frequency=10 * 60,
)
formation.invalidate_cached_sems()
diff --git a/app/scodoc/sco_edit_module.py b/app/scodoc/sco_edit_module.py
index 6d1547491..ece30a345 100644
--- a/app/scodoc/sco_edit_module.py
+++ b/app/scodoc/sco_edit_module.py
@@ -107,7 +107,7 @@ def do_module_create(args) -> int:
typ=ScolarNews.NEWS_FORM,
obj=formation.id,
text=f"Modification de la formation {formation.acronyme}",
- max_frequency=3,
+ max_frequency=10 * 60,
)
formation.invalidate_cached_sems()
return r
@@ -398,7 +398,7 @@ def do_module_delete(oid):
typ=ScolarNews.NEWS_FORM,
obj=mod["formation_id"],
text=f"Modification de la formation {formation.acronyme}",
- max_frequency=3,
+ max_frequency=10 * 60,
)
formation.invalidate_cached_sems()
diff --git a/app/scodoc/sco_edit_ue.py b/app/scodoc/sco_edit_ue.py
index ec4245765..be2523bbc 100644
--- a/app/scodoc/sco_edit_ue.py
+++ b/app/scodoc/sco_edit_ue.py
@@ -139,7 +139,7 @@ def do_ue_create(args):
typ=ScolarNews.NEWS_FORM,
obj=args["formation_id"],
text=f"Modification de la formation {formation.acronyme}",
- max_frequency=3,
+ max_frequency=10 * 60,
)
formation.invalidate_cached_sems()
return ue_id
@@ -223,7 +223,7 @@ def do_ue_delete(ue_id, delete_validations=False, force=False):
typ=ScolarNews.NEWS_FORM,
obj=ue.formation_id,
text="Modification de la formation %(acronyme)s" % F,
- max_frequency=3,
+ max_frequency=10 * 60,
)
#
if not force:
diff --git a/app/scodoc/sco_saisie_notes.py b/app/scodoc/sco_saisie_notes.py
index 23847c994..9cda23725 100644
--- a/app/scodoc/sco_saisie_notes.py
+++ b/app/scodoc/sco_saisie_notes.py
@@ -280,6 +280,7 @@ def do_evaluation_upload_xls():
obj=M["moduleimpl_id"],
text='Chargement notes dans %(titre)s' % mod,
url=mod["url"],
+ max_frequency=30 * 60, # 30 minutes
)
msg = (
@@ -365,6 +366,7 @@ def do_evaluation_set_missing(evaluation_id, value, dialog_confirmed=False):
obj=M["moduleimpl_id"],
text='Initialisation notes dans %(titre)s' % mod,
url=mod["url"],
+ max_frequency=30 * 60,
)
return (
html_sco_header.sco_header()