We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d24a060 commit 86bc203Copy full SHA for 86bc203
datafusion-postgres/src/handlers.rs
@@ -141,13 +141,13 @@ impl DfSessionService {
141
// Use a hash of PID, secret key, and socket address for better uniqueness
142
let (pid, secret) = client.pid_and_secret_key();
143
let socket_addr = client.socket_addr();
144
-
+
145
// Create a hash of all identifying values
146
let mut hasher = std::collections::hash_map::DefaultHasher::new();
147
pid.hash(&mut hasher);
148
secret.hash(&mut hasher);
149
socket_addr.hash(&mut hasher);
150
151
let conn_id = hasher.finish();
152
conn_id
153
}
0 commit comments