Tommaso Peresson
10/16/2025, 10:55 AMMayank
Tommaso Peresson
10/17/2025, 5:38 PMMayank
Manish
10/21/2025, 8:35 AMTaskGarbageCollectionStage that looks for completed/expired/dangling tasks and cleans them up periodically.Tommaso Peresson
10/21/2025, 8:36 AMManish
10/21/2025, 9:06 AMpublic static final long DEFAULT_EXPIRY = 24 * 60 * 60 * 1000;
and there's workflow config param called `Expiry`
Have to dig in to see how to set this property. I think this will allow us to have control over when its cleaned up
public enum WorkflowConfigProperty {
WorkflowID,
Dag,
ParallelJobs,
TargetState,
Expiry,
StartTime,
RecurrenceUnit,
RecurrenceInterval,
Terminable,
FailureThreshold,
/* this is for non-terminable workflow. */
capacity,
WorkflowType,
JobTypes,
IsJobQueue,
JobPurgeInterval,
/* Allow multiple jobs in this workflow to be assigned to a same instance or not */
AllowOverlapJobAssignment,
Timeout
}Tommaso Peresson
10/21/2025, 4:24 PMTommaso Peresson
10/22/2025, 1:04 PM<http://controller.task.expire.time.ms|controller.task.expire.time.ms>Tommaso Peresson
10/22/2025, 1:06 PM