-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance Wikipedia image provider with rate limiting and retry l…
…ogic - Added rate limiting to the wikiMediaProvider to control API request frequency, allowing up to 10 requests per second with a burst capacity of 10. - Implemented a retry mechanism for API queries, allowing up to 3 attempts with exponential backoff on failure. - Updated logging to include request IDs for better traceability during debugging. - Refactored query methods to incorporate the new retry logic and improved debug logging for API interactions.
- Loading branch information
Showing
1 changed file
with
101 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters