diff --git a/server/vissv2server/serviceMgr/serviceMgr.go b/server/vissv2server/serviceMgr/serviceMgr.go index b2be1341..3fd67521 100644 --- a/server/vissv2server/serviceMgr/serviceMgr.go +++ b/server/vissv2server/serviceMgr/serviceMgr.go @@ -1008,7 +1008,7 @@ func feederFrontend(toFeeder chan string, fromFeederRorC chan string, fromFeeder attempts := 0 for udsConn == nil && attempts < 10 { udsConn = utils.GetUdsConn("*", "serverFeeder") - if attempts >= 10 { + if udsConn == nil && attempts >= 10-1 { utils.Error.Printf("feederFrontend:Failed to UDS connect to feeder.") return // ??? }