change default database path to gotelem.db

This commit is contained in:
saji 2024-03-07 15:05:31 -06:00
parent d5381a3c33
commit 4a292aa009

View file

@ -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")
}