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

fix: avoid mutating caller's connect args (don't accumulate user_agents) #1161

Merged
merged 2 commits into from
Nov 24, 2024

Conversation

roj516
Copy link
Contributor

@roj516 roj516 commented Nov 15, 2024

connect mutates the config dictionary passed to engine.create.
Notably, each time it is called the custom_user_agent grows.
This PR clones the config and modifies the clone.

@Mause Mause enabled auto-merge November 24, 2024 00:02
@Mause Mause merged commit 174df9e into Mause:main Nov 24, 2024
8 of 9 checks passed
@Mause
Copy link
Owner

Mause commented Nov 24, 2024

Thanks!!

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