Fix example calculation (#3741)

This commit is contained in:
Stefan Schindler 2025-02-20 21:57:54 +01:00 committed by GitHub
parent 26b4e5f166
commit 8dce6bd9e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(())