Skip to content

Conversation

nemacysts
Copy link
Member

If a batch is killed by Tron (i.e., hitting max_runtime) or a human (i.e., tronctl kill), give them 30s to handle any cleanup.

Batches that wish to use this feature will need to catch the SIGTERM signal and do whatever cleanup they'd like to do in that handler :)

NOTE: this requires Yelp/task_processing#218

If a batch is killed by Tron (i.e., hitting max_runtime) or a human
(i.e., tronctl kill), give them 30s to handle any cleanup.

Batches that wish to use this feature will need to catch the SIGTERM
signal and do whatever cleanup they'd like to do in that handler :)
@nemacysts
Copy link
Member Author

i think that this needs a little more work due to how we end up wrapping the tronfig command, so imma close this for now (since there's also not much demand)

@nemacysts nemacysts closed this Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant