MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / acquire_timeout

Method acquire_timeout

src/database/mod.rs:256–259  ·  view source on GitHub ↗

Set the maximum amount of time to spend waiting for acquiring a connection

(&mut self, value: Duration)

Source from the content-addressed store, hash-verified

254
255 /// Set the maximum amount of time to spend waiting for acquiring a connection
256 pub fn acquire_timeout(&mut self, value: Duration) -> &mut Self {
257 self.acquire_timeout = Some(value);
258 self
259 }
260
261 /// Get the maximum amount of time to spend waiting for acquiring a connection
262 pub fn get_acquire_timeout(&self) -> Option<Duration> {

Callers 6

sqlx_connectFunction · 0.80
sqlx_pool_optionsMethod · 0.80

Calls

no outgoing calls