clan-app: Generalize architecture for API requests

This commit is contained in:
Qubasa
2025-07-08 16:48:55 +07:00
parent be10d99015
commit d8251dce2b
11 changed files with 261 additions and 231 deletions

View File

@@ -38,7 +38,6 @@ def long_blocking_task(somearg: str) -> str:
time.sleep(1)
ctx = get_async_ctx()
log.debug(f"Thread ID: {threading.get_ident()}")
for i in range(30):
if is_async_cancelled():
log.debug("Task was cancelled")