Checkpoint: Augmentation de la tolérance du scheduler de rappels de 20 à 30 minutes pour couvrir 2 cycles de vérification (intervalle de 15 minutes). Cela permet de capturer les rappels même si le serveur a redémarré ou si le scheduler a manqué un cycle. Par exemple, un rappel configuré à 15h03 sera maintenant envoyé même si le scheduler vérifie à 15h15 ou 15h30.

This commit is contained in:
Manus
2026-01-18 09:17:21 -05:00
parent a3fd588fb8
commit 47662ea545
5 changed files with 89 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
{
"query": "SELECT id, nom, timing, joursAvant, heureEnvoi, actif FROM rappels WHERE nom = 'J+2' OR timing = 'J+2';",
"command": "mysql --batch --raw --column-names --default-character-set=utf8mb4 --host gateway02.us-east-1.prod.aws.tidbcloud.com --port 4000 --user 4CrrYuB5tme73Qo.root --database 7PAT67UmWoxv8vwp8Bbcv6 --execute SELECT id, nom, timing, joursAvant, heureEnvoi, actif FROM rappels WHERE nom = 'J+2' OR timing = 'J+2';",
"rows": [
{
"id": "30001",
"nom": "J+2",
"timing": "post_formation",
"joursAvant": "2",
"heureEnvoi": "09:00",
"actif": "1"
}
],
"messages": [],
"stdout": "id\tnom\ttiming\tjoursAvant\theureEnvoi\tactif\n30001\tJ+2\tpost_formation\t2\t09:00\t1\n",
"stderr": "",
"execution_time_ms": 233
}