Image loads: retry a failed avatar or icon like useImageRecovery #209

Open
opened 2026-11-12 04:37:47 +00:00 by charles · 0 comments
Owner

A failed image stays failed in fluxer_ui::images::Images until forgotten. The web app retries in the background (fork:fluxer_app/src/features/messaging/hooks/useImageRecovery.ts, ImageCacheUtils.ts:37-43: up to 2 attempts, 1 s rising to 10 s, then a cooldown of 2 s up to 60 s, a 30 s load timeout). Until then a transient network error leaves a placeholder disc (avatars) or the acronym (guild icons) for the rest of the session. Found while building entity images (branch feat-entity-images).

A failed image stays failed in `fluxer_ui::images::Images` until forgotten. The web app retries in the background (`fork:fluxer_app/src/features/messaging/hooks/useImageRecovery.ts`, `ImageCacheUtils.ts:37-43`: up to 2 attempts, 1 s rising to 10 s, then a cooldown of 2 s up to 60 s, a 30 s load timeout). Until then a transient network error leaves a placeholder disc (avatars) or the acronym (guild icons) for the rest of the session. Found while building entity images (branch `feat-entity-images`).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#209
No description provided.