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

Set application name on client start #1

Conversation

zainkabani
Copy link

Set application name in beginning of handle client and remove it from the cleanup function

src/client.rs Outdated
@@ -59,7 +59,7 @@ pub struct Client<S, T> {
client_server_map: ClientServerMap,

/// Client parameters, e.g. user, client_encoding, etc.
parameters: HashMap<String, String>,
_parameters: HashMap<String, String>,
Copy link

Choose a reason for hiding this comment

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

There are other parameters I'd like us to support long term (client encoding, server encoding, etc.). We'll need this one later.

Copy link
Author

Choose a reason for hiding this comment

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

yeah this is just to avoid the warning of unused code

Copy link

Choose a reason for hiding this comment

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

#[allow(dead_code)]

@drdrsh drdrsh merged commit 3b91fd1 into drdrsh:mostafa_test-discard-all Sep 1, 2022
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.

3 participants