You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another option here is throttled-queue, it's a simple TS package that allows you to specify the intervals for API requests, and you can see an example here in the CityCoins UI for all functions that fetch JSON.
@whoabuddy that's a great idea thanks, will definitely look into it! I also want to identify why so many queries go out during internal wallet initialization but properly queueing it sounds like the best future-proof option!
during startup hiro api at
https://stacks-node-api.stacks.co
gives 429 possibly due to many simultaneous callReadOnlyFunction at https://github.com/LNSwap/lnstxbridge-client/blob/main/lib/wallet/providers/SIP10WalletProvider.ts#L76so it's a good idea to add an optional network param where another api instance can be used - preferably lnswap api instance.
The text was updated successfully, but these errors were encountered: