程序里没有写settimeout.只用了async await + request-promise
云函数报错信息:
返回结果
{"errorCode":-1,"errorMessage":"Async invoking task timed out after 2 seconds","statusCode":433}
日志
START RequestId:5fd1044c-7caf-11eb-ab44-52540014dd16
ERROR RequestId:5fd1044c-7caf-11eb-ab44-52540014dd16 Result:{"errorCode":-1,"errorMessage":"Async invoking task timed out after 2 seconds","statusCode":433}
END RequestId:5fd1044c-7caf-11eb-ab44-52540014dd16
Report RequestId:5fd1044c-7caf-11eb-ab44-52540014dd16 Duration:2000ms Memory:256MB MemUsage:38.183594MB
云函数有3秒执行时间限制