change default database path to gotelem.db
This commit is contained in:
parent
d5381a3c33
commit
4a292aa009
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue