mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
Fix example calculation (#3741)
This commit is contained in:
parent
26b4e5f166
commit
8dce6bd9e1
@ -484,7 +484,7 @@ impl<DB: Database> PoolOptions<DB> {
|
||||
/// .await?;
|
||||
///
|
||||
/// // Close the connection if the backend memory usage exceeds 256 MiB.
|
||||
/// Ok(total_memory_usage <= (2 << 28))
|
||||
/// Ok(total_memory_usage <= (1 << 28))
|
||||
/// }))
|
||||
/// .connect("postgres:// …").await?;
|
||||
/// # Ok(())
|
||||
|
Loading…
x
Reference in New Issue
Block a user