Skip to content

Commit

Permalink
Switch to memory sqlite3 db
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperMarioDaBom committed Oct 10, 2023
1 parent a4e8589 commit 8287789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var sqlMutex *sync.Mutex = &sync.Mutex{}

func Connect() {
var err error
SQLite, err = sql.Open("sqlite3", "lm2.db")
SQLite, err = sql.Open("sqlite3", ":memory:")

if err != nil {
globals.Logger.Critical(err.Error())
Expand Down

0 comments on commit 8287789

Please sign in to comment.