Commit f5f0d94a by Torkel Ödegaard

fix: temp/testing fix for hanging issue, #8033

parent a79102b4
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment