Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
OldBigBuddha committed Nov 18, 2024
1 parent 90378e6 commit 076ef6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions codegen/config/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ type ExecConfig struct {
FilenameTemplate string `yaml:"filename_template,omitempty"` // String template with {name} as placeholder for base name.
DirName string `yaml:"dir"`

// Maximum number of goroutines in parallel to use when running multiple child resolvers
// Suppressing the number of goroutines generated can reduce memory consumption per request,
// but processing time may increase due to the reduced number of concurrences
// Default: 0 (unlimited)
WorkerLimit uint `yaml:"worker_limit"`
}

Expand Down

0 comments on commit 076ef6a

Please sign in to comment.