Skip to content

fix: unfollow rate limit#656

Open
redshiftzero wants to merge 1 commit into
mainfrom
fix-unfollow
Open

fix: unfollow rate limit#656
redshiftzero wants to merge 1 commit into
mainfrom
fix-unfollow

Conversation

@redshiftzero
Copy link
Copy Markdown
Contributor

Fixes #655. When we were unfollowing, we weren't pausing and retrying when we hit a rate limit. Now we track if we need to pause and retry (using the shouldRetry approach that we're using elsewhere).

I tested this by stubbing XAccountController.isRateLimited() to inject a fake rate limit so I didn't need to wait for a 429 (also bc this would require having a ton of followed accounts). This let me ensure we see this instead of an error:

Screenshot 2026-05-30 at 10 12 47 PM

@micahflee micahflee self-requested a review June 3, 2026 15:47
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.

X: Unfollowing everyone isn't respecting rate limits

1 participant