Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
StarpTech committed Jan 29, 2018
1 parent a997ce1 commit f337d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/template/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func New(options ...Option) *Templating {
v := &Templating{
excludedDirs: toMap(ExcludedDirs),
excludedExts: toMap(BinaryFileExt),
// the buffer size is equivalent to the worker size so they can't block each other.
// the buffer size is equivalent to the worker size this reduce the chance of wasted (blocking) resources.
ch: make(chan func(), runtime.NumCPU()),
dirRenamings: map[string]string{},
dirRemovings: []string{},
Expand Down

0 comments on commit f337d69

Please sign in to comment.