Merge pull request #6294 from xataxxx/health

/health api and telegram commands to return last processing time
This commit is contained in:
Matthias
2022-02-02 19:53:45 +01:00
committed by GitHub
8 changed files with 66 additions and 8 deletions

View File

@@ -384,3 +384,8 @@ class BacktestResponse(BaseModel):
class SysInfo(BaseModel):
cpu_pct: List[float]
ram_pct: float
class Health(BaseModel):
last_process: datetime
last_process_ts: int