mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 23:21:12 +02:00
kvdb: add postgres
This commit is contained in:
@@ -13,6 +13,11 @@ const (
|
||||
// live instance of etcd.
|
||||
EtcdBackendName = "etcd"
|
||||
|
||||
// PostgresBackendName is the name of the backend that should be passed
|
||||
// into kvdb.Create to initialize a new instance of kvdb.Backend backed
|
||||
// by a live instance of postgres.
|
||||
PostgresBackendName = "postgres"
|
||||
|
||||
// DefaultBoltAutoCompactMinAge is the default minimum time that must
|
||||
// have passed since a bolt database file was last compacted for the
|
||||
// compaction to be considered again.
|
||||
|
Reference in New Issue
Block a user