EVE-Tools / element43

Market, Trade and Industry Manager for EVE Online
BSD 3-Clause "New" or "Revised" License
81 stars 25 forks source link

Implement retry for fetching X-Pages of market data #41

Open zweizeichen opened 6 years ago

zweizeichen commented 6 years ago

At the moment there is no retry mechanism for the first request (for getting X-Pages) when fetching orders from ESI for a region/structure. If that request fails, the whole region won't get an update. A retry mechanism should be added here and here. Code can be copied from here. However if we want to do this The Right Way™ we should perform a randomized exponential backoff in those cases.