Skip to content

Commit

Permalink
Fix Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
anshap1719 committed Mar 16, 2024
1 parent 6d3915b commit 1d2eed6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/database/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,13 @@ impl ConnectOptions {
self.schema_search_path = Some(schema_search_path.into());
self
}

/// If true, the connection will be pinged upon acquiring from the pool (default true).
pub fn test_before_acquire(&mut self, value: bool) -> &mut Self {
self.test_before_acquire = value;
self
}


/// Set the application name for the connection (PostgreSQL only)
#[cfg(feature = "sqlx-postgres")]
pub fn application_name(&mut self, value: &'static str) -> &mut Self {
Expand Down

0 comments on commit 1d2eed6

Please sign in to comment.