|
|
|
@ -34,7 +34,7 @@ async def execute_simulation(
|
|
|
|
tmpfile = os.path.join(tempfile.gettempdir(), f"simulation_{simulation_id}.json")
|
|
|
|
tmpfile = os.path.join(tempfile.gettempdir(), f"simulation_{simulation_id}.json")
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
async with httpx.AsyncClient(timeout=300.0) as client:
|
|
|
|
async with httpx.AsyncClient(timeout=None) as client:
|
|
|
|
async with client.stream(
|
|
|
|
async with client.stream(
|
|
|
|
"POST",
|
|
|
|
"POST",
|
|
|
|
f"{AEROS_BASE_URL}/api/Simulation/RunSimulation",
|
|
|
|
f"{AEROS_BASE_URL}/api/Simulation/RunSimulation",
|
|
|
|
|