diff --git a/app/core/background/license_service.py b/app/core/background/license_service.py index 4b61392..b2673d6 100644 --- a/app/core/background/license_service.py +++ b/app/core/background/license_service.py @@ -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