Files
PixivFE/server
perennial 54314d465c Implement token management and request retry system
Introduce a new TokenManager to handle token rotation, status
tracking, and automatic retries with exponential backoff for API
requests. This change aims to improve the reliability API
interactions by intelligently managing tokens and gracefully
handling request failures.

Update API request functions to utilise the new TokenManager. This
commit also adds configuration options for max retries, base timeout,
and max backoff time to fine-tune the retry behavior.
2024-09-18 14:49:18 +10:00
..
2024-09-05 16:08:08 +00:00
2024-09-06 16:22:35 +00:00
2024-09-05 16:08:08 +00:00