Files
SnowLuma/packages
DrSmoothl 182df4b0e2 fix(onebot): retry rkey fetch eagerly while cache holds none (#156)
When the OIDB 0x9067_202 rkey fetch returns empty or fails, the cache stays
empty and resolveImageUrl hands out a bare multimedia.nt.qq.com.cn URL the CDN
rejects with {retcode:-5503010, invalid rkey}. The 30s refresh cooldown then
blacked out every image for 30s+ after each empty/failed fetch.

Use a short RKEY_EMPTY_COOLDOWN (10s) whenever no usable image rkey is cached,
keeping the 30s steady-state backoff only once we actually hold one — so a
transient empty fetch self-heals in seconds instead of 30s. (Part A of #156;
remote-server fallback follows.)
2026-06-28 01:25:19 +08:00
..
2026-06-26 19:49:41 +08:00
2026-06-26 19:49:41 +08:00
2026-06-26 19:49:41 +08:00
2026-06-26 19:49:41 +08:00
2026-06-26 19:49:41 +08:00
2026-06-26 19:49:41 +08:00
2026-06-26 19:49:41 +08:00
2026-06-26 19:49:41 +08:00