Skip to content

Commit 6bed5c0

Browse files
oakgaryporsager
authored andcommitted
corrects explnation of default max_lifetime values in README.md
1 parent cc688c6 commit 6bed5c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ const sql = postgres('postgres://username:password@host:port/database', {
992992
})
993993
```
994994

995-
Note that `max_lifetime = 60 * (30 + Math.random() * 30)` by default. This resolves to an interval between 45 and 90 minutes to optimize for the benefits of prepared statements **and** working nicely with Linux's OOM killer.
995+
Note that `max_lifetime = 60 * (30 + Math.random() * 30)` by default. This resolves to an interval between 30 and 60 minutes to optimize for the benefits of prepared statements **and** working nicely with Linux's OOM killer.
996996

997997
### Dynamic passwords
998998

0 commit comments

Comments
 (0)