跳转至

故障排查 / TaskTimeout 错误

函数执行过程中发生 TaskTimeout 错误,如:

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

发送此错误表示函数执行时间过长而超时,请参考以下文档处理: