Stop a daq from queueing executions?

I have two dags one that runs every 5 minutes and another that does a similar thing that will run every hour, I am already aware of cross dag dependencies So that would definitely stop dags from being executed at the same time, but what I need to make sure of is if that hourly dag executes and takes time I dont want the one that runs every 5 minute to queue up . can you please help on this

many thanks

Are you using the celery executor? In that case you can configure different pools for each task with a hard limit on the max number of tasks executed in a Pool at a given time.

https://airflow.apache.org/docs/apache-airflow/stable/concepts/pools.html