Edit
This commit is contained in:
parent
59afbd4cdf
commit
4690bafcbd
@ -321,7 +321,7 @@ impl ConnectOptions {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// If true, the connection will be pinged after acquiring from the pool (default true).
|
/// 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 {
|
pub fn test_before_acquire(&mut self, value: bool) -> &mut Self {
|
||||||
self.test_before_acquire = value;
|
self.test_before_acquire = value;
|
||||||
self
|
self
|
||||||
|
Loading…
x
Reference in New Issue
Block a user