diff options
author | Malfurious <m@lfurio.us> | 2023-11-09 18:01:47 -0500 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2023-11-15 23:11:08 -0500 |
commit | bc9a915a2709fe7c50f826183ce4d2f6b1816052 (patch) | |
tree | b4773b932d200afe7a958b2a1678db97ae275434 /dmt/config.sh | |
parent | 8ead8ec8ac5e4bad5d4f03de005f89212fd8a495 (diff) | |
download | cychedelic-bc9a915a2709fe7c50f826183ce4d2f6b1816052.tar.gz cychedelic-bc9a915a2709fe7c50f826183ce4d2f6b1816052.zip |
dmt: Implement API endpoint /api/job/{jobnum}
This returns all details related to the requested job number as well as a
tail of the job log file. If `jobnum` is omited, details of the latest
job are returned.
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'dmt/config.sh')
-rw-r--r-- | dmt/config.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dmt/config.sh b/dmt/config.sh new file mode 100644 index 0000000..a19e14f --- /dev/null +++ b/dmt/config.sh @@ -0,0 +1,2 @@ +# Number of lines of text to show per job on the main page +CYCHE_LOG_TAIL_LENGTH=25 |