influxdb批量完成

This commit is contained in:
Liujian
2023-01-11 15:01:01 +08:00
parent 6ec2f5de05
commit eda73a154b
6 changed files with 34 additions and 58 deletions

View File

@@ -29,7 +29,7 @@ type httpHandler struct {
}
func (h *httpHandler) ServeHTTP(ctx eocontext.EoContext) {
ctx.SetFinish(h.finisher)
httpContext, err := http_context.Assert(ctx)
if err != nil {
return
@@ -62,6 +62,6 @@ func (h *httpHandler) ServeHTTP(ctx eocontext.EoContext) {
ctx.SetApp(h.service)
ctx.SetBalance(h.service)
ctx.SetUpstreamHostHandler(h.service)
ctx.SetFinish(h.finisher)
h.filters.Chain(ctx, completeCaller)
}