Skip to content

Commit

Permalink
Feeder connect fix.
Browse files Browse the repository at this point in the history
Signed-off-by: Ulf Bjorkengren <[email protected]>
  • Loading branch information
UlfBj committed Nov 15, 2024
1 parent 52d6873 commit 11b7305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/vissv2server/serviceMgr/serviceMgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 // ???
}
Expand Down

0 comments on commit 11b7305

Please sign in to comment.