LOriginal post
Rank 1: Thread
Some of my functions are having problems, and I can't identify why. My functions only communicate with the database and do not make calls to other functions. I'm getting the following error:
Synchronous function execution timed out. Use asynchronous execution instead, or ensure the execution duration doesn't exceed 30 seconds.
Error Code: 408
I use a stress testing tool, and this error usually occurs when I increase the number of threads (users) in the tool. what could it be?
Summary
Developers are encountering a "Synchronous function execution timed out" error code 408 when stress testing their functions, particularly when increasing the number of threads. This error suggests the function is taking too long to execute. Consider optimizing the function or switching to asynchronous execution to prevent the timeout issue.