mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
gate traceMsg on flag test
This commit is contained in:
@@ -266,7 +266,9 @@ func (sub *subscription) deliverMsg(mh, msg []byte) {
|
||||
|
||||
func (c *client) processMsg(msg []byte) {
|
||||
c.nm++
|
||||
c.traceMsg(msg)
|
||||
if trace {
|
||||
c.traceMsg(msg)
|
||||
}
|
||||
if c.srv == nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user