Can someone help me understand how a timeout set a...
# flyte-support
b
Can someone help me understand how a timeout set at a task level
Copy code
@task(timeout=timedelta(hours=1))
interacts with the node default set in the propeller / scheduler configuration?
Copy code
default-deadlines:
  node-active-deadline: 168h0m0s
  node-execution-deadline: 72h0m0s
  workflow-active-deadline: 0s
My assumption was that a task level timeout spec would override the default we set. What we've observed is that a value under 72h in the task decorator does terminate the task but anything over 72 hours still terminates the task at 72hours with the same message:
Copy code
Last Error: USER::task execution timeout [72h0m0s] expired
f
Node default is the max
Deadline for a node you can set it to infinity as well
It is set to allow draining nodes
b
Ah. This makes sense. Thanks Ketan for confirming!