Fixed handling of multiple nodes in region-aware routing

This commit is contained in:
David Zhao
2021-10-10 22:25:29 -07:00
parent 822f8c3944
commit 575b99840a
3 changed files with 22 additions and 2 deletions
+3
View File
@@ -173,6 +173,9 @@ func (s *LivekitServer) Start() error {
if s.config.PrometheusPort != 0 {
values = append(values, "portPrometheus", s.config.PrometheusPort)
}
if s.config.Region != "" {
values = append(values, "region", s.config.Region)
}
logger.Infow("starting LiveKit server", values...)
if err := s.httpServer.Serve(ln); err != http.ErrServerClosed {
logger.Errorw("could not start server", err)