go-livepeer
go-livepeer copied to clipboard
chore: skip orchestrator info requests if service uri not set by orchestrator
What does this pull request do? Explain your changes. (required)
Update db_discovery.go to skip starting orchestrator http client if the service uri is not set by the orchestrator. At time of this commit, 71 orchestrators have not registered for the AI subnet so this skips a lot of failed http connections.
Docker build is at docker pull adastravideo/go-livepeer:ai-video-test
Specific updates (required)
- add a check to confirm a
Hostexists in the parsed service uri.
How did you test each of these updates (required) Built docker file and started up gateway startup.log
Checklist:
- [ ] Read the contribution guide
- [X]
makeruns successfully - [ ] All tests in
./test.shpass - [ ] README and other documentation updated
- [ ] Pending changelog updated