Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/fagongzi/gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangxu19830126 committed Apr 15, 2019
2 parents 81f6032 + 539f739 commit 4359fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ func (p *Proxy) ServeFastHTTP(ctx *fasthttp.RequestCtx) {
api.meta.Name,
len(dispatches))

incrRequest(api.meta.Name)

rd := acquireRender()
rd.init(requestTag, api, dispatches)
Expand Down Expand Up @@ -402,6 +401,7 @@ func (p *Proxy) ServeFastHTTP(ctx *fasthttp.RequestCtx) {
releaseRender(rd)
releaseMultiContext(multiCtx)

incrRequest(api.meta.Name)
p.postRequest(api, dispatches, startAt)

log.Debugf("%s: dispatch complete",
Expand Down

0 comments on commit 4359fc7

Please sign in to comment.