This commit is contained in:
user 2024-04-06 01:47:23 +03:00
parent 567c200df2
commit b18550918d
1 changed files with 2 additions and 3 deletions

View File

@ -99,12 +99,11 @@ async def main_fn(memory, ):
while True:
try:
platform_found, seqno = await license_index_loop(memory, platform_found, seqno)
if platform_found:
await send_status("licenses", f"working (seqno={seqno})")
except BaseException as e:
make_log("LicenseIndex", f"Error: {e}" + '\n' + traceback.format_exc(), level="error")
if platform_found:
await send_status("LicenseIndex", f"working (seqno={seqno})")
await asyncio.sleep(5)
seqno += 1