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

@@ -137,7 +137,10 @@ func (m *Manager) FastHandler(port int, ctx *fasthttp.RequestCtx) {
log.Debug("match has:", port)
r.ServeHTTP(httpContext)
}
httpContext.GetFinish().Finish(httpContext)
finishHandler := httpContext.GetFinish()
if finishHandler != nil {
finishHandler.Finish(httpContext)
}
}
type NotFoundHandler struct {