rtb_api.client.RTBClient. It gzip-compresses cycle payloads, sends the key as the whole Authorization header and retries network errors plus 408, 429, 500, 502, 503 and 504. It preserves the request ID and body.
Its default timeout is 60 seconds per attempt. That default is not an agreed deadline, and retries can extend total elapsed time beyond one attempt. Configure a total decision deadline in the worker. The example disables automatic retries so the worker can budget recovery separately.