Is there a way to send an request to cancel a job if it takes too long?
I'm trying to find a way to cancel an API request if it takes too long. This is so that I have a way to deal with requests that are stuck "IN_QUEUE".
Preferably something like:
https://api.runpod.ai/v2/{endpoint_id}/cancel_job/{job_id}
Or even better. Enable a setting on the endpoint that automatically cancels any API requests that take longer than X amount of time (e.g. 10 mins).
2 Replies
Yeah there is