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

Cleanup invites in the poller, not the API #333

Merged
merged 6 commits into from
Oct 11, 2023

Conversation

DMRobertson
Copy link
Contributor

@DMRobertson DMRobertson commented Oct 10, 2023

Kegan and I were surprised to see the API side of the proxy doing this.

I removed the existing logic and saw that TestStuckInvites broke. Hopefully it should pass after these changes. Does that count as sufficient testing?

@DMRobertson DMRobertson marked this pull request as ready for review October 10, 2023 20:21
}
}

_, err := txn.Exec(`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if len(usersToRemove) == 0 { return nil }

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh yes, thanks.

@DMRobertson DMRobertson merged commit de9006d into main Oct 11, 2023
7 checks passed
@DMRobertson DMRobertson deleted the dmr/cleanup-invites-in-poller branch October 11, 2023 16:55
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