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

This commit is contained in:
BennyKok 2024-01-31 04:11:21 +00:00 committed by bennykok
parent b6b34c9062
commit b81fcae6fb

View File

@ -231,7 +231,8 @@ def run(input: Input):
async def bar(request_input: RequestInput): async def bar(request_input: RequestInput):
# print(request_input) # print(request_input)
if not deploy_test: if not deploy_test:
return run.remote(request_input.input) run.spawn(request_input.input)
return {"status": "success"}
# pass # pass