postgres: add connection limit

This commit is contained in:
Joost Jager committed 2021-11-17 11:08:43 +01:00
1 parent b0fa19e8b0
commit 274faff980
8 files changed
+130 -7

No files matched your search

+5
View File
@@ -1177,6 +1177,11 @@ litecoin.node=ltcd
; disable.
; db.postgres.timeout=
; Postgres maximum number of connections. Set to zero for unlimited. It is
; recommended to set a limit that is below the server connection limit.
; Otherwise errors may occur in lnd under high-load conditions.
; db.postgres.maxconnections=
[bolt]
; If true, prevents the database from syncing its freelist to disk.