mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Fix typo on internal function
Signed-off-by: Waldemar Quevedo <wally@nats.io>
This commit is contained in:
@@ -2093,7 +2093,7 @@ func (mset *stream) processInboundMirrorMsg(m *inMsg) bool {
|
||||
var err error
|
||||
if node != nil {
|
||||
if js.limitsExceeded(stype) {
|
||||
s.resourcesExeededError()
|
||||
s.resourcesExceededError()
|
||||
err = ApiErrors[JSInsufficientResourcesErr]
|
||||
} else {
|
||||
err = node.Propose(encodeStreamMsg(m.subj, _EMPTY_, m.hdr, m.msg, sseq-1, ts))
|
||||
@@ -3952,7 +3952,7 @@ func (mset *stream) processJetStreamMsg(subject, reply string, hdr, msg []byte,
|
||||
|
||||
// Check to see if we have exceeded our limits.
|
||||
if js.limitsExceeded(stype) {
|
||||
s.resourcesExeededError()
|
||||
s.resourcesExceededError()
|
||||
mset.clfs++
|
||||
mset.mu.Unlock()
|
||||
if canRespond {
|
||||
|
||||
Reference in New Issue
Block a user