mirror of
https://github.com/traefik/traefik
synced 2026-02-03 12:20:33 +00:00
Merge current v2.11 into v3.6
This commit is contained in:
@@ -391,7 +391,7 @@ func (p *PassiveServiceHealthChecker) WrapHandler(ctx context.Context, next http
|
||||
}
|
||||
|
||||
// We need to guarantee that only one goroutine (request) will update the status and create a timer for the target.
|
||||
_, _, _ = p.timersGroup.Do(targetURL, func() (interface{}, error) {
|
||||
_, _, _ = p.timersGroup.Do(targetURL, func() (any, error) {
|
||||
// A timer is already running for this target;
|
||||
// it means that the target is already considered unhealthy.
|
||||
if _, ok := p.timers.Load(targetURL); ok {
|
||||
|
||||
Reference in New Issue
Block a user