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

+11
View File
@@ -104,6 +104,17 @@ def delete_server(server_id: str, user_id: str) -> bool:
except Exception:
pass
try:
custom_objects_api.delete_namespaced_custom_object(
group="cdi.kubevirt.io",
version="v1beta1",
namespace=namespace,
plural="datavolumes",
name=f"{server_id}-rootdisk"
)
except Exception:
pass
if delete_server_record(server_id):
# Removed refund logic
pass