Skip to content

Commit

Permalink
fix new DB setting declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Brackin committed Jan 15, 2019
1 parent b74d936 commit 5dc2abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/setting/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -988,8 +988,8 @@ func NewContext() {
}
IterateBufferSize = Cfg.Section("database").Key("ITERATE_BUFFER_SIZE").MustInt(50)
LogSQL = Cfg.Section("database").Key("LOG_SQL").MustBool(true)
DBConnectRetries := setting.Cfg.Section("database").Key("DB_RETRIES").MustInt(10)
DBConnectBackoff := setting.Cfg.Section("database").Key("DB_RETRY_BACKOFF").MustDuration(3 * time.Second)
DBConnectRetries = Cfg.Section("database").Key("DB_RETRIES").MustInt(10)
DBConnectBackoff = Cfg.Section("database").Key("DB_RETRY_BACKOFF").MustDuration(3 * time.Second)

sec = Cfg.Section("attachment")
AttachmentPath = sec.Key("PATH").MustString(path.Join(AppDataPath, "attachments"))
Expand Down

0 comments on commit 5dc2abc

Please sign in to comment.