Skip to content

Commit

Permalink
sync SessionManager::new
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnorberg committed Dec 22, 2024
1 parent 9ea721b commit a284e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spanner/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl Client {
};
let conn_pool =
ConnectionManager::new(pool_size, &config.environment, config.endpoint.as_str(), &options).await?;
let session_manager = SessionManager::new(database, conn_pool, config.session_config).await?;
let session_manager = SessionManager::new(database, conn_pool, config.session_config)?;

Ok(Client {
sessions: session_manager,
Expand Down

0 comments on commit a284e84

Please sign in to comment.