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

Move retrieval of common properties out of send_to_all loop #2634

Merged
merged 3 commits into from
Apr 25, 2023

Conversation

nicolossus
Copy link
Member

In the send_to_all function that sends an event to all connection of the current Connector, the retrieval and static_cast of the common properties only needs to be done once. This PR therefore moves the common properties handling outside of the loop. The PR also removes some redundant comments and old debug code.

@nicolossus nicolossus added S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation. I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Mar 13, 2023
@jougs jougs merged commit ef03329 into nest:master Apr 25, 2023
@nicolossus nicolossus deleted the fix_send_to_all branch April 25, 2023 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants