Commit f18f1bf
committed
fix: disable retries for WebP and image processing errors
- added `PERMANENT_REASONS` constant in `src/background_tile_loader.rb`
- updated `BackgroundTileLoader#classify_error`: `webp_conversion_error` and `image_processing_error` are now forced to `:permanent` before `TRANSIENT_STATUS_CODES` checks
- kept existing retry behavior for network and other transient HTTP failures unchanged1 parent 076c7af commit f18f1bf
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
1012 | 1016 | | |
1013 | 1017 | | |
1014 | 1018 | | |
| 1019 | + | |
1015 | 1020 | | |
1016 | 1021 | | |
1017 | 1022 | | |
| |||
0 commit comments