Skip to content

v2.2.26

Choose a tag to compare

@BigWebstas BigWebstas released this 15 Oct 14:51
· 2 commits to master since this release

New

  • Status endpoint. The tray apps now serve their health as JSON on http://127.0.0.1:47615/status (localhost only). Poll it from curl, an uptime monitor or a script: ok / starting return HTTP 200, error (last sync failed) and stale (no sync pass for over 2 intervals + 5 min, i.e. a hung scheduler) return 503. No answer means the app is down. The JSON also carries version, pid, uptime and the last sync's time and message.

Drop-in update, no setup change. Change the port with status_port in config.json; 0 turns it off. A busy port is logged and the app still starts. Python-level crashes already auto-relaunch the app; a native crash or hang does not, so for real supervision on Linux run it under systemd with Restart=on-failure.

Full changelog: v2.2.25...v2.2.26