mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
nfd-master: use only unbuffered chans in the nfd api-controller
There's no reason why the "update all" chans should be buffered (while the other are not).
This commit is contained in:
parent
a851aae914
commit
bf6ffadf36
1 changed files with 2 additions and 2 deletions
|
@ -61,9 +61,9 @@ func init() {
|
|||
func newNfdController(config *restclient.Config, nfdApiControllerOptions nfdApiControllerOptions) (*nfdController, error) {
|
||||
c := &nfdController{
|
||||
stopChan: make(chan struct{}),
|
||||
updateAllNodesChan: make(chan struct{}, 1),
|
||||
updateAllNodesChan: make(chan struct{}),
|
||||
updateOneNodeChan: make(chan string),
|
||||
updateAllNodeFeatureGroupsChan: make(chan struct{}, 1),
|
||||
updateAllNodeFeatureGroupsChan: make(chan struct{}),
|
||||
updateNodeFeatureGroupChan: make(chan string),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue