chore(notary-ai): default wait heartbeat 20s (was 60)
This commit is contained in:
parent
45e51680a5
commit
afde172170
@ -12,7 +12,7 @@
|
||||
# Env optionnel :
|
||||
# NOTARY_AI_WAIT_SKIP_DAEMON_KILL=1 — ne envoie pas SIGTERM au daemon au démarrage (défaut : tuer
|
||||
# le daemon pour éviter deux boucles en parallèle pendant l'attente ; l'agent CLI n'est jamais killé).
|
||||
# NOTARY_AI_WAIT_HEARTBEAT_SEC — message tous les N secondes pendant l'attente (défaut : 60).
|
||||
# NOTARY_AI_WAIT_HEARTBEAT_SEC — message tous les N secondes pendant l'attente (défaut : 20).
|
||||
#
|
||||
set -euo pipefail
|
||||
if [ -n "${HOME:-}" ] && [ -r "$HOME/.bashrc" ]; then
|
||||
@ -49,7 +49,7 @@ fi
|
||||
LOOP_SCRIPT="${IA_DEV_ROOT}/ai_working_help/notary-ai/notary-ai-loop-n-cycles.sh"
|
||||
SLEEP_BETWEEN="${NOTARY_AI_LOOP_DAEMON_SLEEP_SEC:-15}"
|
||||
DURATION_SEC=$((10 * 3600))
|
||||
HEARTBEAT_SEC="${NOTARY_AI_WAIT_HEARTBEAT_SEC:-60}"
|
||||
HEARTBEAT_SEC="${NOTARY_AI_WAIT_HEARTBEAT_SEC:-20}"
|
||||
|
||||
# True tant qu'un composant « notary-ai » bloquant tourne encore (agent CLI, cycles, daemon).
|
||||
notary_ai_blocking_work_running() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user