fix(vps): extend import timeout to 1h and stop ongoing CDI tasks on timeout
Build and publish Docker image / build-and-publish (push) Successful in 2m31s

This commit is contained in:
wfalkowski committed 2026-10-21 22:37:17 +00:00
1 parent 6732ee9d47
commit 4c2f5f2c01
3 files changed
+99 -5

No files matched your search

+1 -1
View File
@@ -1330,7 +1330,7 @@ async def handle_get_server_creation_progress(client_id, data):
with _server_creation_progress_lock:
progress = _server_creation_progress_by_user.get(user_id)
if progress:
expiry = 1800 if progress.get('state') == 'active' else 600
expiry = 4200 if progress.get('state') == 'active' else 600
if time.time() - progress.get('timestamp', 0) < expiry:
await send_message(client_id, {
'type': 'server_creation_progress',