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

Don't provision command-created connections twice #558

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

AndrewFerr
Copy link
Member

Without this change, adding a connection with a bot command creates the connection, but doesn't store it in memory (by pushing it into the connection manager's list of known connections). Thus, what would actually store the connection in memory was the bot responding to its own room state event, which made it provision the connection again from scratch.

@AndrewFerr AndrewFerr added T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements. S-Tolerable Low/no impact on users labels Nov 1, 2022
@AndrewFerr AndrewFerr requested a review from a team as a code owner November 1, 2022 20:15
@AndrewFerr AndrewFerr self-assigned this Nov 1, 2022
@AndrewFerr AndrewFerr enabled auto-merge (squash) November 2, 2022 18:47
@AndrewFerr
Copy link
Member Author

The force push is just a rebase on the latest main.

@AndrewFerr AndrewFerr merged commit cf10cf4 into main Nov 2, 2022
@AndrewFerr AndrewFerr deleted the af/provision-once branch November 2, 2022 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Tolerable Low/no impact on users T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant