fix
This commit is contained in:
parent
567c200df2
commit
b18550918d
|
|
@ -99,12 +99,11 @@ async def main_fn(memory, ):
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
platform_found, seqno = await license_index_loop(memory, platform_found, seqno)
|
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:
|
except BaseException as e:
|
||||||
make_log("LicenseIndex", f"Error: {e}" + '\n' + traceback.format_exc(), level="error")
|
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)
|
await asyncio.sleep(5)
|
||||||
seqno += 1
|
seqno += 1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue