Timeouts
Timeouts protect your app from slow networks, broad queries, and upstream delays. Set explicit limits and move heavy work out of request paths.
Timeout policy
Set explicit client timeouts
Choose limits that match your user experience, worker limits, and background job schedule.
Use backoff and jitter
Increase the wait after each retry and add jitter when many workers may retry at once.
Tune heavy queries first
Narrow filters, lower page sizes, split jobs, or cache intermediate IDs before simply raising timeout values.