Rename router to receiver for secondary connections (#2816)

This commit is contained in:
Todd authored and GitHub committed 2023-01-20 10:43:57 -08:00
1 parent b359561e51
commit 87b09d5e27
5 files changed
+23 -23

No files matched your search

+2 -2
View File
@@ -52,7 +52,7 @@ import (
type downstreamRouter interface {
// StartRouteMgmtTicking starts a ticker which manages the router's
// connections.
StartRouteMgmtTicking(context.Context, func() string, int) error
StartConnectionMgmtTicking(context.Context, func() string, int) error
// ProcessPendingConnections starts a function that continually processes
// incoming client connections. This only returns when the provided context
@@ -468,7 +468,7 @@ func (c *Controller) Start() error {
}()
go func() {
defer c.tickerWg.Done()
err := c.downstreamRoutes.StartRouteMgmtTicking(
err := c.downstreamRoutes.StartConnectionMgmtTicking(
c.baseContext,
servNameFn,
-1,