3d 转 svg 3视图 超时时间拉长到20分钟

This commit is contained in:
zcr
2026-04-02 15:06:28 +08:00
parent 8807fb6100
commit d27fbc969d

View File

@@ -71,7 +71,7 @@ def three_d_to_3views_task(self, minio_glb_path: str, callback_url: str):
input_data = {
"minio_glb_path": minio_glb_path,
}
with httpx.Client(timeout=300.0) as client:
with httpx.Client(timeout=1200) as client:
resp = client.post(
f"http://{settings.IMAGE_TO_3D_MODEL_URL}/canvas/3d_to_3views",
json=input_data