Recipes/Go net/http
Go net/http
Create a job, with an idempotency key so a timeout costs nothing.
The code
Notes
The idempotency key is derived from the run and the video rather than generated fresh, so retrying after a timeout returns the original job instead of queueing the video twice. See retries and idempotency.
Was this page useful?Tell us what was missing