Skip to content

Commit

Permalink
corrects explnation of default max_lifetime values in deno/README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
oakgary authored and porsager committed May 15, 2024
1 parent a4bdc66 commit 479b04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ const sql = postgres('postgres://username:password@host:port/database', {
})
```

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.
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.

### Dynamic passwords

Expand Down

0 comments on commit 479b04c

Please sign in to comment.