diff options
author | Valery Piashchynski <[email protected]> | 2021-03-29 13:18:23 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-29 13:18:23 +0300 |
commit | 77dff1be03092a26055eaf9f18ff9be68f119624 (patch) | |
tree | 70dd11bf64f8ac633749c96bd439ea91640ca7bd /plugins/http/handler.go | |
parent | 970014530a23d57a3be41c6369ac6456d0b36ae1 (diff) | |
parent | b7d84bdf93ce90925f22091dd8df02985dd07a77 (diff) |
Merge pull request #615 from spiral/slow_last_execution
🐛 fix(bug): slow last response when reached `max_jobs` limit
Diffstat (limited to 'plugins/http/handler.go')
-rw-r--r-- | plugins/http/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/handler.go b/plugins/http/handler.go index b7c6f1fa..d3c928aa 100644 --- a/plugins/http/handler.go +++ b/plugins/http/handler.go @@ -176,7 +176,7 @@ func (h *Handler) sendEvent(event interface{}) { // get real ip passing multiple proxy func (h *Handler) resolveIP(r *Request) { - if h.trusted.IsTrusted(r.RemoteAddr) == false { + if h.trusted.IsTrusted(r.RemoteAddr) == false { //nolint:gosimple return } |