Skip to content

Troubleshooting / TaskTimeoutException Error

During the execution of a function, a TaskTimeoutException error occurs, such as:

Text Only
1
2
3
4
5
6
7
8
#1 --------------------
Function execution: demo__demo.test_timeout()

Error stack:
Traceback (most recent call last):
  File "demo__demo", line 4, in test_timeout
    time.sleep(100)
worker.tasks.TaskTimeoutException: Task execution takes too much time and has been interrupted by force

This error indicates that the function execution has timed out due to excessive execution time. Please refer to the following Guide for resolution: