$definition) { // Check if a time limit override exists for this queue. if ($time_limit = \Drupal::state()->get('queue_ui_cron_' . $queueName)) { // Override the original definition. $queues[$queueName]['cron']['time'] = $time_limit; } } }