Setting ci_dag_limit_needs

We want to start using DAGs for some of our pipelines on our GitLab instance, one in particular is quite complicated and has around ten dependencies, therefore the default value of value of 5 for when ci_dag_limit_needs is enabled isn’t enough. Therefore according to the documentation I need to set ci_dag_limit_needs=false. But the documentation doesn’t say how to do this?

Do I use something like:

gitlab_ci['ci_dag_limit_needs'] = false

Into the GitLab CI section of gitlab.rb?

Is there any documentation that shows how to do this?

Anyone know how to disable this flag as only being able to have 5 dependencies specified with needs is starting to become a problem?

I figured this out, the flag can be disabled from the gitlab-rails console:

Feature.disable(:ci_dag_limit_needs)