kvdb: add sqlite

This commit is contained in:
Elle Mouton committed 2023-01-23 09:14:08 +02:00
1 parent 3d91bb65f7
commit 74b9c9ce9a
16 files changed
+374 -10

No files matched your search

+5
View File
@@ -18,6 +18,11 @@ const (
// by a live instance of postgres.
PostgresBackendName = "postgres"
// SqliteBackendName 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 sqlite.
SqliteBackendName = "sqlite"
// 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.