mirror of
https://github.com/umputun/reproxy.git
synced 2024-09-11 08:55:25 +03:00
don't health check asset mappers
This commit is contained in:
parent
afbcc6c7bb
commit
f246618622
@ -35,7 +35,7 @@ func (h *Http) healthHandler(w http.ResponseWriter, _ *http.Request) {
|
||||
pinged := 0
|
||||
var wg sync.WaitGroup
|
||||
for _, m := range mappers {
|
||||
if m.PingURL == "" {
|
||||
if m.MatchType != discovery.MTProxy || m.PingURL == "" {
|
||||
continue
|
||||
}
|
||||
sema <- struct{}{}
|
||||
|
Loading…
Reference in New Issue
Block a user