Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/livepeer/starter/starter.go
Original file line number Diff line number Diff line change
Expand Up @@ -1690,9 +1690,9 @@ func StartLivepeer(ctx context.Context, cfg LivepeerConfig) {
exit("Error creating Livepeer server: err=%q", err)
}

ec := make(chan error)
tc := make(chan struct{})
wc := make(chan struct{})
ec := make(chan error, 1)
tc := make(chan struct{}, 1)
wc := make(chan struct{}, 1)
msCtx, cancel := context.WithCancel(ctx)
defer cancel()

Expand Down
2 changes: 1 addition & 1 deletion server/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func getOrchestratorInfo(ctx context.Context, uris []*url.URL, req *net.Orchestr
return nil, errNoOrchestrators
}

infoCh := make(chan *net.OrchestratorInfo)
infoCh := make(chan *net.OrchestratorInfo, 1)
errCh := make(chan error, len(uris))

cctx, cancel := context.WithTimeout(ctx, getOrchestratorTimeout)
Expand Down