pollStartTime time.Time,
statsFn func() *taskqueuepb.TaskQueueStats,
pollWaitTime := c.partitionMgr.engine.timeSource.Since(pollStartTime)
// If a poller has waited around a while, we can always suggest a decrease.
if pollWaitTime >= c.partitionMgr.config.PollerScalingWaitTime() {
// Decrease if any poll matched after sitting idle for some configured period
c.recordPollerScaleDecision(metrics.PollerScaleDecisionDown, metrics.PollerScaleReasonIdle)