fix recovery accounting
This commit is contained in:
1 parent
909ff91b2b
commit
1ffe9e4a62
6 files changed
+148
-66
No files matched your search
+1
-1
@@ -88,7 +88,7 @@ func (handlerHelper) AuthenticateAccountingProxy(ctx *fasthttp.RequestCtx) domai
|
||||
return domain.Create().SetError(err)
|
||||
}
|
||||
|
||||
if !accounting.Accept(applicationId, path) {
|
||||
if !accounting.Worker.AcceptRequest(applicationId, path) {
|
||||
err := errors.New("accounting error")
|
||||
utils.WriteError(ctx, "too many requests", codes.ResourceExhausted, nil)
|
||||
return domain.Create().SetError(err)
|
||||
|
||||
Reference in new issue
Block a user