mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-09 20:31:10 +00:00
fix log entry
This commit is contained in:
parent
1bba5648a7
commit
17e1b17a78
1 changed files with 1 additions and 1 deletions
|
|
@ -20,8 +20,8 @@ def stop_gracefully(signum, frame):
|
|||
|
||||
|
||||
async def checker(check: Callable | Coroutine, interval_secs: int, client: nio.AsyncClient, *args, **kwargs):
|
||||
logging.info(f"Calling {check.__name__}")
|
||||
while True:
|
||||
logging.info(f"Calling {check.__name__}")
|
||||
if isinstance(check, Callable):
|
||||
result = check(*args, **kwargs)
|
||||
if isinstance(result, Coroutine):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue