Skip to content

Commit f601b82

Browse files
authored
Merge pull request #168 from lexx-bright/master
ClickHouse connection timeout is configured with the wrong parameter.
2 parents 58fbb70 + 7d097c5 commit f601b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

render/data/query.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func newQuery(cfg *config.Config, targets int) *query {
9999
cStep: cStep,
100100
chURL: cfg.ClickHouse.URL,
101101
chDataTimeout: cfg.ClickHouse.DataTimeout,
102-
chConnectTimeout: cfg.Carbonlink.ConnectTimeout,
102+
chConnectTimeout: cfg.ClickHouse.ConnectTimeout,
103103
debugDir: cfg.Debug.Directory,
104104
debugExtDataPerm: cfg.Debug.ExternalDataPerm,
105105
lock: sync.RWMutex{},

0 commit comments

Comments
 (0)