A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/SGrondin/bottleneck/issues/88 below:

Accuracy of reservoir refresh interval? · Issue #88 · SGrondin/bottleneck · GitHub

In the docs it says that the accuracy of reservoirRefreshInterval is +-5 seconds.

This is a problem because many APIs have limits with 1 second granularity, i.e. they allow x requests every second. So, we may be off their rate limit by nearly 5x.

Is there something I can do to make sure the reservoir is refreshed accurately every second? Should I be using a custom timeout + incrementReservoir function?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4