mirror of
https://github.com/sune-org/us.proxy.sune.chat.git
synced 2026-04-07 10:12:12 +00:00
Refactor: Lower run ended ntfy alert priority to 2
This commit is contained in:
2
run.js
2
run.js
@@ -118,7 +118,7 @@ function stop(r) {
|
|||||||
try { r.controller?.abort() } catch {}
|
try { r.controller?.abort() } catch {}
|
||||||
saveSnapshot(r)
|
saveSnapshot(r)
|
||||||
bcast(r, { type: 'done' })
|
bcast(r, { type: 'done' })
|
||||||
notify(`Run ${r.rid} ended. Duration: ${duration}s`, 3, ['stop_sign'])
|
notify(`Run ${r.rid} ended. Duration: ${duration}s`, 2, ['stop_sign'])
|
||||||
}
|
}
|
||||||
|
|
||||||
function fail(r, message) {
|
function fail(r, message) {
|
||||||
|
|||||||
Reference in New Issue
Block a user