add unloading all requests

This commit is contained in:
DeniskaRediska committed 2019-11-19 19:02:17 +03:00
1 parent 8af97e56d7
commit 37c08f4500
13 files changed
+191 -6

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ func (handlerHelper) AuthenticateAccountingProxy(ctx *fasthttp.RequestCtx) domai
utils.WriteError(ctx, "forbidden", codes.ResourceExhausted, nil)
return domain.Create().SetError(err)
}
go accounting.Unload.TakeRequest(applicationId, path, time.Now())
return p.ProxyRequest(ctx)
}