Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
criminosis committed Aug 27, 2024
1 parent 2b72a1a commit 093c04c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gremlin-client/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ impl ConnectionOptionsBuilder {

/// Only applicable to async client. By default a connection is checked on each return to the pool (None)
/// This allows setting an interval of how often it is checked on return.
pub fn pool_healthcheck_interval(mut self, pool_healthcheck_interval: Option<Duration>) -> Self {
pub fn pool_healthcheck_interval(
mut self,
pool_healthcheck_interval: Option<Duration>,
) -> Self {
self.0.pool_healthcheck_interval = pool_healthcheck_interval;
self
}
Expand Down

0 comments on commit 093c04c

Please sign in to comment.