mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* Checkpoint: first pass at RunJobs Signed-off-by: Annanay <[email protected]> * Complete exhaustive search Signed-off-by: Annanay <[email protected]> * Added tests, address comments Signed-off-by: Annanay <[email protected]> * Update CHANGELOG & Troubleshooting guide Signed-off-by: Annanay <[email protected]> * Add tag with total span count Signed-off-by: Annanay <[email protected]>
15 lines
239 B
Go
15 lines
239 B
Go
package pool
|
|
|
|
type Config struct {
|
|
MaxWorkers int `yaml:"max_workers"`
|
|
QueueDepth int `yaml:"queue_depth"`
|
|
}
|
|
|
|
// default is concurrency disabled
|
|
func defaultConfig() *Config {
|
|
return &Config{
|
|
MaxWorkers: 30,
|
|
QueueDepth: 10000,
|
|
}
|
|
}
|