fix: timeout issues with nextjs by changing run remote to run spawn

This commit is contained in:
BennyKok
2024-01-31 15:22:50 +08:00
committed by bennykok
parent b6b34c9062
commit b81fcae6fb
+2 -1
View File
@@ -231,7 +231,8 @@ def run(input: Input):
async def bar(request_input: RequestInput):
# print(request_input)
if not deploy_test:
return run.remote(request_input.input)
run.spawn(request_input.input)
return {"status": "success"}
# pass