Skip to content

Commit

Permalink
Remove double allocation
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Collison <derek@nats.io>
  • Loading branch information
derekcollison committed Nov 1, 2018
1 parent 57a7471 commit 2e579b8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ func (c *client) initClient() {
c.ncs = fmt.Sprintf("%s - cid:%d", conn, c.cid)
case ROUTER:
c.ncs = fmt.Sprintf("%s - rid:%d", conn, c.cid)
c.in.rcache = make(map[string]*routeCache, 32)
}
}

Expand Down

0 comments on commit 2e579b8

Please sign in to comment.