mirror of
https://github.com/eolinker/apinto
synced 2025-10-05 08:47:04 +08:00
提交
This commit is contained in:
@@ -54,8 +54,8 @@ func (h *httpHandler) ServeHTTP(ctx eocontext.EoContext) {
|
||||
ctx = wsCtx
|
||||
}
|
||||
//set retry timeout
|
||||
ctx.WithValue(http_complete.KeyHttpRetry, h.retry)
|
||||
ctx.WithValue(http_complete.KeyHttpTimeout, h.timeout)
|
||||
ctx.WithValue(http_context.KeyHttpRetry, h.retry)
|
||||
ctx.WithValue(http_context.KeyHttpTimeout, h.timeout)
|
||||
|
||||
//Set Label
|
||||
ctx.SetLabel("api", h.routerName)
|
||||
|
Reference in New Issue
Block a user