synchronize medium startup discovery fix
CI / test (push) Failing after 35s

This commit is contained in:
m
2026-08-29 21:47:14 +03:00
+3 -1
View File
@@ -220,7 +220,9 @@ func durationEnv(name string, fallback time.Duration) time.Duration {
func refreshProviderDiscoveries(resolver bindingResolver, service discoveryService) {
for name := range service.providers {
ctx, cancel := context.WithTimeout(context.Background(), 8*time.Second)
// Keep startup discovery bounded while allowing the authenticated local
// gateway enough time to enumerate a loaded MEDIUM model.
ctx, cancel := context.WithTimeout(context.Background(), 15*time.Second)
registration, ok := service.providers[name]
if !ok || registration.Discovery == nil {
cancel()