Skip to content

Commit

Permalink
Merge pull request #53 from UlfBj/master
Browse files Browse the repository at this point in the history
Feeder connect fix.
  • Loading branch information
UlfBj authored Nov 15, 2024
2 parents 52d6873 + 11b7305 commit 4d37a0d
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 4d37a0d

Please sign in to comment.