Fix DNS Fallback

This commit is contained in:
Shtorm
2026-08-09 15:01:36 +03:00
parent f682ceb8e2
commit cb664d1a4b
4 changed files with 44 additions and 14 deletions

View File

@@ -43,7 +43,7 @@ func NewTransport(ctx context.Context, logger log.ContextLogger, tag string, opt
}
servers[i] = server
}
strategy, err := CreateStrategy(options.Strategy, servers, logger)
strategy, err := CreateStrategy(options.Strategy, servers, logger, options.Timeout.Build())
if err != nil {
return nil, err
}