Comment 1 for bug 1436916

Revision history for this message
Kevin Carter (kevin-carter) wrote :

we can use a ternary operator to solve this. This should pseudo code should work but is untested:

num_sync_threads = {{ neutron_api_workers | default(api_threads if api_threads > 0 else 1) }}