blitz_api/scripts
fusion44 4e038e8fc7 feat: fetch app status via a celery task
This is a feature that allows to fetch the app status via a celery
task which stores the result in the Redis database and notifies the API
of the change. The API sends a notification to connected clients via the
SSE mechanism.

Using a background task allows to avoid crashing the whole API if the
script call fails.

The by default the cache is refreshed every 30 minutes. This can be
changed by setting the `BAPI_APP_STATUS_UPDATE_INTERVAL_MIN` environment
variable.

refs #123
2025-05-06 09:16:46 +02:00
..
fake_blitz_scripts feat: update fake blitz environment 2025-05-06 09:16:46 +02:00
bitcoin_regtest.conf feat: improve devenv config 2025-03-23 17:43:39 +01:00
install-prometheus.sh feat: add enable and disable prometheus scripts 2023-10-29 19:03:50 +01:00
remote_debugging.sh feat: implement remote debugging on a remote machine (#207) 2023-06-25 08:01:43 +02:00
sync_to_blitz.sh #160 fix 500 TERM error (#175) 2022-12-18 10:20:51 +01:00
test_env.nu feat: fetch app status via a celery task 2025-05-06 09:16:46 +02:00
uninstall-prometheus.sh feat: add enable and disable prometheus scripts 2023-10-29 19:03:50 +01:00