Files
healthchat-web/apps
hayyaksi c08f235ea8 Respect retry_after_ms and stop retrying rate limited invites forever (#34480)
A rate limited invite was retried on a hard coded five second delay with no
bound, so the client kept hammering a server which had already refused, and
ignored the retry_after_ms it asked us to wait.

The delay now comes from the server, capped so a very long backoff cannot leave
the invite dialog hanging, and each address gives up after a few attempts with
an error rather than looping.

Cancelling an in-flight invite is a separate concern and is not addressed here.

Fixes https://github.com/element-hq/element-web/issues/30427

Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2026-08-12 11:04:07 +00:00
..