lolipopshock / obsidian-scholar

Streamline Research Workflow in Obsidian
MIT License
26 stars 2 forks source link

Add retry to s2 service to account for possible traffic overload #22

Closed lolipopshock closed 5 months ago

lolipopshock commented 5 months ago

Solving https://github.com/lolipopshock/obsidian-scholar/issues/20 ;

The issue is that for SemanticSchoalr API, there is a chance that "S2 will also restrict access to unauthenticated users when there is traffic overload". As such, retry the api call is necessary and this issue automates the retry.