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

Add option for a time to live for membership queue items #277

Merged
merged 12 commits into from
Nov 18, 2020

Conversation

Half-Shot
Copy link
Contributor

@Half-Shot Half-Shot commented Nov 12, 2020

Needed for matrix-org/matrix-appservice-irc#1184

Depends on #276

This change allows us to specify a maximum ttl of a request before we just consider it stale and drop it. I've also renamed joinDelayMs to actionDelayMs because it doesn't just affect joins.

@Half-Shot Half-Shot requested review from a team and jaller94 and removed request for a team November 13, 2020 10:45
Copy link
Contributor

@jaller94 jaller94 left a comment

Choose a reason for hiding this comment

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

Nice, hope we're putting an end to them jamming up the queue.
Can you add to the documentation what values for ttl you recommend / found to be working for our bridges?

src/components/membership-queue.ts Outdated Show resolved Hide resolved
src/components/membership-queue.ts Outdated Show resolved Hide resolved
src/components/membership-queue.ts Outdated Show resolved Hide resolved
src/components/membership-queue.ts Outdated Show resolved Hide resolved
@Half-Shot
Copy link
Contributor Author

Can you add to the documentation what values for ttl you recommend / found to be working for our bridges?

I think this is covered by the default opts values?

@Half-Shot Half-Shot merged commit 0c0f9ac into develop Nov 18, 2020
@Half-Shot Half-Shot deleted the hs/ttl-membership branch May 2, 2023 16:06
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