Merge branch 'master' into sql-proxy

This commit is contained in:
Torkel Ödegaard committed 2017-04-07 10:34:51 +02:00
commit 26804d630f
48 files changed
+3422 -32

No files matched your search

+3
View File
@@ -198,6 +198,9 @@ 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.SslMode = sec.Key("ssl_mode").String()
DbCfg.CaCertPath = sec.Key("ca_cert_path").String()