mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-26 09:30:37 +00:00
Correct out-of-date comment.
This commit is contained in:
@@ -121,7 +121,7 @@ impl ConnectionPool {
|
||||
tokio::spawn(async move {
|
||||
loop {
|
||||
sweeper_pool.sweep_idle_connections().await;
|
||||
sleep(Duration::from_secs(5)).await; // Run every 60 seconds
|
||||
sleep(Duration::from_secs(5)).await; // Run every 5 seconds
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user