Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limiting added for cleaning lists and infinite loop bug fixed #66

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

alcoolfire
Copy link
Contributor

Bug report #36 identified the need to rate limit list importing and this was fixed by @andrewchenk in #39 by adding a 1-second sleep to api_add_to_list(). This commit adds the same fix for cleaning lists (-C option), specifically adding the same sleep to api_remove_from_list().

Fixed an infinite loop that occurs if the -C option is used when the target list is already empty.

Bug report #36 identified the need to rate limit list importing and this was fixed by @andrewchenk in #39 by adding a 1-second sleep to api_add_to_list(). This commit adds the same fix for cleaning lists (-C option), specifically adding the same sleep to api_remove_from_list().

Fixed an infinite loop that occurs if the -C option is used when the target list is already empty.
@xbgmsharp xbgmsharp merged commit bf56c0b into xbgmsharp:master Oct 29, 2024
@xbgmsharp
Copy link
Owner

Awesome thanks for the clear details

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.

2 participants