You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add support for Android platform and RISC-V architecture in build script; update database connection string to enable WAL mode; bump dependencies for sqlite and other libraries; enhance remote shell feature with configuration check; add FAQ section to documentation
Copy file name to clipboardExpand all lines: conf/settings.go
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ type Config struct {
45
45
} `env-prefix:"SERVER_"`
46
46
DBstruct {
47
47
Typestring`env:"TYPE" env-default:"sqlite3" env-description:"db type, mysql or sqlite3 and so on"`
48
-
DSNstring`env:"DSN" env-default:"/data/data.db" env-description:"db dsn, for sqlite is path, other is dsn, look at https://github.com/go-sql-driver/mysql#dsn-data-source-name"`
48
+
DSNstring`env:"DSN" env-default:"/data/data.db?_pragma=journal_mode(WAL)" env-description:"db dsn, for sqlite is path, other is dsn, look at https://github.com/go-sql-driver/mysql#dsn-data-source-name"`
0 commit comments