mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-16 19:14:41 -07:00
Fixes based on PR feedback
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -1302,10 +1302,7 @@ func (jsa *jsAccount) checkBytesLimits(addBytes int64, storage StorageType) erro
|
||||
}
|
||||
|
||||
func (jsa *jsAccount) acc() *Account {
|
||||
//jsa.mu.RLock()
|
||||
acc := jsa.account
|
||||
//jsa.mu.RUnlock()
|
||||
return acc
|
||||
return jsa.account
|
||||
}
|
||||
|
||||
// Delete the JetStream resources.
|
||||
|
||||
@@ -1235,8 +1235,8 @@ func (mset *stream) processInboundMirrorMsg(m *inMsg) bool {
|
||||
mset.mirror.cname = tokenAt(m.rply, 4)
|
||||
mset.mirror.dseq, mset.mirror.sseq = dseq, sseq
|
||||
} else {
|
||||
mset.retryMirrorConsumer()
|
||||
mset.mu.Unlock()
|
||||
mset.retryMirrorConsumer()
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user