mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-13 11:52:45 +02:00
8 lines
364 B
Python
8 lines
364 B
Python
|
|
from app.api.models import ApiStartupStatus
|
||
|
|
|
||
|
|
# Single in-process source of truth for bitcoin/lightning startup state.
|
||
|
|
# Mutated by the startup tasks in app.main; read by the /system/health endpoint
|
||
|
|
# and the WebSocket warmup. Kept in this leaf module so app.system can import it
|
||
|
|
# without a circular dependency on app.main.
|
||
|
|
api_startup_status = ApiStartupStatus()
|