Skip to content

Commit

Permalink
style: Update config
Browse files Browse the repository at this point in the history
Change-Id: I5e7b89ddf665a3b2a3f83a0afec64750ac01449b
  • Loading branch information
andeya committed Nov 13, 2019
1 parent 96efb4f commit 9cf1076
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,16 @@ func (c *CliConfig) Check() error {

func (c *CliConfig) peerConfig() tp.PeerConfig {
return tp.PeerConfig{
DefaultSessionAge: c.DefaultSessionAge,
DefaultContextAge: c.DefaultContextAge,
DefaultDialTimeout: c.DefaultDialTimeout,
RedialTimes: 1,
SlowCometDuration: c.SlowCometDuration,
DefaultBodyCodec: c.DefaultBodyCodec,
PrintDetail: c.PrintDetail,
CountTime: c.CountTime,
Network: c.Network,
LocalIP: c.LocalIP,
DefaultSessionAge: c.DefaultSessionAge,
DefaultContextAge: c.DefaultContextAge,
DialTimeout: c.DefaultDialTimeout,
RedialTimes: 1,
SlowCometDuration: c.SlowCometDuration,
DefaultBodyCodec: c.DefaultBodyCodec,
PrintDetail: c.PrintDetail,
CountTime: c.CountTime,
Network: c.Network,
LocalIP: c.LocalIP,
}
}

Expand Down

0 comments on commit 9cf1076

Please sign in to comment.