From b1c95b10f4d1a0d49c2b888dcf10872b4a474569 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sat, 11 Nov 2023 21:50:47 -0500 Subject: dmt: Implement initial functionality for jobs page Adds javascript to implement self-hydration for the main page. Several aspects of these features can be customized via new settings in config.sh. Signed-off-by: Malfurious --- dmt/config.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'dmt/config.sh') diff --git a/dmt/config.sh b/dmt/config.sh index aa8a9c4..3df98e9 100644 --- a/dmt/config.sh +++ b/dmt/config.sh @@ -3,3 +3,15 @@ CYCHE_SITE_NAME="cychedelic" # Number of lines of text to show per job on the main page CYCHE_LOG_TAIL_LENGTH=25 + +# Job content refresh time while system is idle +CYCHE_IDLE_UPDATE=60000 # 1 minute + +# Job content refresh time while system is busy +CYCHE_ACTIVE_UPDATE=1000 # 1 second + +# Progress indicator animation speed (time per update) +CYCHE_PROGRESS_ANIM_SPEED=1000 # 1 second + +# Human-friendly filename template (mind the single-quotes!) +CYCHE_LOG_FILENAME='${job.job}_${abv_hash}_${job.service}.log' -- cgit v1.2.3