m-wrzr / streamlit-searchbox

Streamlit searchbox that dynamically updates and provides a list of suggestions based on a provided function
MIT License
253 stars 33 forks source link

Adding delay method #29

Closed Jumitti closed 1 year ago

Jumitti commented 1 year ago

Sometime, servers where we can do requests have limit of requests per second. So adding a delay avoids this problem.

I saw in the package that there is a :param delay. Maybe you're already working on it.

This addition of delay is due to the fact that I use an API where we have an easily reachable limit. Usually 0.25 seconds is enough