Skip to content

Fix sleep_time causing API rate limit exceeded#137

Open
ttdtrang wants to merge 1 commit intoropensci:masterfrom
ttdtrang:master
Open

Fix sleep_time causing API rate limit exceeded#137
ttdtrang wants to merge 1 commit intoropensci:masterfrom
ttdtrang:master

Conversation

@ttdtrang
Copy link
Copy Markdown

@ttdtrang ttdtrang commented Jul 4, 2019

When api_key is not provided, Entrez allows 3 requests per second, thus sleep_time should be at least (1/3) second. Rounding error caused it to wait for less than (1/3), resulting in API rate limit exceeded error. Fix it into 0.34.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant