type AutoScalingWorker struct { MinWorker int MaxWorker int QueueDepth int CurrentWorker int Process Process Queue chaninterface{} Interval time.Duration
auto worker: 0 QueueDepth: 60 auto worker: 2 QueueDepth: 79 auto worker: 3 QueueDepth: 89 auto worker: 4 QueueDepth: 89 auto worker: 5 QueueDepth: 49 auto worker: 5 QueueDepth: 0 auto worker: 3 QueueDepth: 0 auto worker: 2 QueueDepth: 0 auto worker: 1 QueueDepth: 0 auto worker: 0 QueueDepth: 150 auto worker: 1 QueueDepth: 149 auto worker: 2 QueueDepth: 138 auto worker: 3 QueueDepth: 118 auto worker: 4 QueueDepth: 88 auto worker: 5 QueueDepth: 48 auto worker: 4 QueueDepth: 0 auto worker: 3 QueueDepth: 0 auto worker: 2 QueueDepth: 0 auto worker: 1 QueueDepth: 0 auto worker: 0 QueueDepth: 0