hicetnunc-api icon indicating copy to clipboard operation
hicetnunc-api copied to clipboard

Throttling logic

Open anonymoussprocket opened this issue 4 years ago • 4 comments

Adjust pThrottle({ limit: 15, interval: 1200 }) to avoid the issue, note that it may increase load times.

anonymoussprocket avatar Mar 20 '21 07:03 anonymoussprocket

How may it increase load times?

veqtor avatar Apr 06 '21 21:04 veqtor

limit 15, interval: 1200 will allow 15 threads (parallel requests) every 1.2 seconds or so. Data size wise, hen is at a point where a local cache makes sense for at least the token metadata.

anonymoussprocket avatar Apr 07 '21 02:04 anonymoussprocket

Hmm, this seems to be running of an older, possibly reverted version of master, if you could reimplement that would be good, also I don't understand what this PR solves

veqtor avatar Apr 08 '21 11:04 veqtor

Should I close this? We've reworked the code completely since this was made

veqtor avatar Apr 13 '21 11:04 veqtor