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:
@@ -3360,7 +3360,7 @@ func (s *Server) processStreamRestore(ci *ClientInfo, acc *Account, cfg *StreamC
|
||||
// TODO(dlc) - We could check apriori and cancel initial request if we know it won't fit.
|
||||
total += len(msg)
|
||||
if js.wouldExceedLimits(FileStorage, total) {
|
||||
s.resourcesExeededError()
|
||||
s.resourcesExceededError()
|
||||
resultCh <- result{NewJSInsufficientResourcesError(), reply}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user