Versions in this module Expand all Collapse all v1 v1.4.1 May 3, 2026 Changes in this version + func Run(ctx context.Context, src Source, cfg Config) — linux/amd64 + type Config struct — linux/amd64 + Enabled bool + Interval time.Duration + MinActive int + ScaleDownHysteresis int + ScaleDownIdleTicks int + ScaleDownStep int + ScaleUpStep int + StartHigh bool + TargetConnsPerWorker int + Trace bool + func Resolve(cfg resource.Config, numWorkers int) Config + type Source interface — linux/amd64 + ActiveConns func() int64 + Generation func() uint64 + Logger func() *slog.Logger + NumWorkers func() int + PauseWorker func(i int) + ResumeWorker func(i int)