mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-20 08:08:58 +00:00
* feat(python-client): retry a GET on 429 and 502-504 with exponential backoff A script that reads many variables or resources at once can get a 429 or a 502/503/504 back from a busy server, and the call failed at once. Windmill.get now retries up to 3 times, 1s, 2s and 4s apart, or after the Retry-After seconds the server sends (capped at 60). Other statuses, and POSTs, are not retried. * fix(python-client): honour an HTTP-date Retry-After and test the 502/504 and 60s cap paths * fix(python-client): never repeat the slack approval GET and bound GET retries to 15s Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(python-client): fall back to the backoff delay on a Retry-After digit float() rejects --------- Co-authored-by: Ruben Fiszel <ruben@windmill.dev> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>