Skip to content
Snippets Groups Projects
Commit de055152 authored by Tom Wilkie's avatar Tom Wilkie
Browse files

Init pool config correctly.


Signed-off-by: default avatarTom Wilkie <tom.wilkie@gmail.com>
parent 7d906cbe
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,8 @@ type Config struct {
}
func (cfg *Config) RegisterFlags(f *flag.FlagSet) {
cfg.PoolConfig.RegisterFlags(f)
f.IntVar(&cfg.MaxRecvMsgSize, "ingester.client.max-recv-message-size", 64*1024*1024, "Maximum message size, in bytes, this client will receive.")
f.DurationVar(&cfg.PoolConfig.RemoteTimeout, "ingester.client.healthcheck-timeout", 1*time.Second, "Timeout for healthcheck rpcs.")
f.DurationVar(&cfg.RemoteTimeout, "ingester.client.timeout", 5*time.Second, "Timeout for ingester client RPCs.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment