q, exists := s.queues[key]
if !exists && len(s.queues) >= s.maxQueues() {
metrics.ExecutionQueueSchedulerSubmitRejected.With(s.metricsHandler).Record(1)
return false
}
s.appendTaskLocked(key, q, entry)
s.mu.Unlock()