We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26b4e5f commit 8dce6bdCopy full SHA for 8dce6bd
1 file changed
sqlx-core/src/pool/options.rs
@@ -484,7 +484,7 @@ impl<DB: Database> PoolOptions<DB> {
484
/// .await?;
485
///
486
/// // Close the connection if the backend memory usage exceeds 256 MiB.
487
- /// Ok(total_memory_usage <= (2 << 28))
+ /// Ok(total_memory_usage <= (1 << 28))
488
/// }))
489
/// .connect("postgres:// …").await?;
490
/// # Ok(())
0 commit comments