mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-10 07:18:45 +02:00
postgres: add connection limit
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user