mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 02:23:28 +08:00
fix: temp/testing fix for hanging issue, #8033
This commit is contained in:
@ -199,8 +199,8 @@ func LoadConfig() {
|
||||
if DbCfg.Type == "sqlite3" {
|
||||
UseSQLite3 = true
|
||||
// only allow one connection as sqlite3 has multi threading issues that casue table locks
|
||||
DbCfg.MaxIdleConn = 1
|
||||
DbCfg.MaxOpenConn = 1
|
||||
// DbCfg.MaxIdleConn = 1
|
||||
// DbCfg.MaxOpenConn = 1
|
||||
}
|
||||
DbCfg.SslMode = sec.Key("ssl_mode").String()
|
||||
DbCfg.CaCertPath = sec.Key("ca_cert_path").String()
|
||||
|
Reference in New Issue
Block a user