From 4a292aa00967f50196ec3f0286d8f6f9e7871472 Mon Sep 17 00:00:00 2001 From: saji Date: Thu, 7 Mar 2024 15:05:31 -0600 Subject: [PATCH] change default database path to gotelem.db --- cmd/gotelem/cli/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gotelem/cli/server.go b/cmd/gotelem/cli/server.go index 05c4ff7..b1b5edf 100644 --- a/cmd/gotelem/cli/server.go +++ b/cmd/gotelem/cli/server.go @@ -92,7 +92,7 @@ func serve(cCtx *cli.Context) error { broker := gotelem.NewBroker(20, logger.WithGroup("broker")) // open database - dbPath := "file::memory:?cache=shared" + dbPath := "gotelem.db" if cCtx.IsSet("db") { dbPath = cCtx.Path("db") }