diff options
author | Malfurious <m@lfurio.us> | 2023-11-11 21:50:47 -0500 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2023-11-15 23:11:08 -0500 |
commit | b1c95b10f4d1a0d49c2b888dcf10872b4a474569 (patch) | |
tree | f94361d5c671755c4bb8c7def638ef40706950ac /dmt/config.sh | |
parent | a021cc6899c82b8af55013514dbc8c7b2a383fcd (diff) | |
download | cychedelic-b1c95b10f4d1a0d49c2b888dcf10872b4a474569.tar.gz cychedelic-b1c95b10f4d1a0d49c2b888dcf10872b4a474569.zip |
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 <m@lfurio.us>
Diffstat (limited to 'dmt/config.sh')
-rw-r--r-- | dmt/config.sh | 12 |
1 files changed, 12 insertions, 0 deletions
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' |