Skip to content

Commit

Permalink
fixed bug where one call to StartAsyncPuller() in node_server.go was …
Browse files Browse the repository at this point in the history
…not updated to remove completionChan depth and the build targets still succeeded. should have failed integration tests if executed.
  • Loading branch information
imuni4fun committed Feb 22, 2024
1 parent 8b54915 commit b5d6c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/plugin/node_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func NewNodeServer(driver *csicommon.CSIDriver, mounter backend.Mounter, imageSv
}
if asyncImagePullTimeout >= time.Duration(30*time.Second) {
klog.Infof("Starting node server in Async mode with %v timeout", asyncImagePullTimeout)
ns.asyncImagePuller = remoteimageasync.StartAsyncPuller(context.TODO(), 100, 20)
ns.asyncImagePuller = remoteimageasync.StartAsyncPuller(context.TODO(), 100)
} else {
klog.Info("Starting node server in Sync mode")
ns.asyncImagePullTimeout = 0 // set to default value
Expand Down

0 comments on commit b5d6c03

Please sign in to comment.