All Products
Search
Document Center

Function Compute:What do I do if the function execution times out and the error "Function time out after" is reported?

Last Updated:Feb 21, 2024

If invocations of a function occasionally time out, you can perform the following operations:

  • Increase the execution timeout duration of the function. For more information, see Manage functions.

  • Check the function logic and configure the logging feature. Check whether the execution of the function times out because timeout occurs when another API operation is called.

  • Check whether a logic branch that takes a long time, such as a CPU-intensive branch, is accessed.