Datasource: Remove deprecated max_idle_connections_per_host setting (#49948) (#49951)

(cherry picked from commit b03657b0e0)

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-05-31 18:38:54 +02:00
committed by GitHub
co-authored by Marcus Efraimsson
parent 088125ae28
commit 8a4eed5fb6
2 changed files with 0 additions and 11 deletions
-5
View File
@@ -23,10 +23,5 @@ func readDataProxySettings(iniFile *ini.File, cfg *Cfg) error {
cfg.DataProxyRowLimit = defaultDataProxyRowLimit
}
if val, err := dataproxy.Key("max_idle_connections_per_host").Int(); err == nil {
cfg.Logger.Warn("[Deprecated] the configuration setting 'max_idle_connections_per_host' is deprecated, please use 'max_idle_connections' instead")
cfg.DataProxyMaxIdleConns = val
}
return nil
}