unify worker num to workers

This commit is contained in:
astraw99
2021-08-09 10:48:53 +08:00
parent fc26906546
commit e6df935fd3
10 changed files with 21 additions and 21 deletions

View File

@@ -319,7 +319,7 @@ func (expc *expandController) expand(pvc *v1.PersistentVolumeClaim, pv *v1.Persi
return detailedErr
}
// TODO make concurrency configurable (workers/threadiness argument). previously, nestedpendingoperations spawned unlimited goroutines
// TODO make concurrency configurable (workers argument). previously, nestedpendingoperations spawned unlimited goroutines
func (expc *expandController) Run(stopCh <-chan struct{}) {
defer runtime.HandleCrash()
defer expc.queue.ShutDown()