Skip to content

Troubleshooting / Function execution encountered TaskTimeout error

A TaskTimeout error occurs during function execution, for example:

Text Only
1
2
3
4
Traceback (most recent call last **IN USER SCRIPT**):
  File "demo__test_timeout", line 5, in test_timeout
    time.sleep(100)
worker.tasks.TaskTimeout: Task execution has taken too much time and has been killed by force

This error indicates that the function execution took too long and timed out. Please refer to the following documentation to resolve it: