copr-fe-dev: assure there's no "zero" in threads
This commit is contained in:
parent
f7b3da54b0
commit
31ff414ca8
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ Alias "/db_dumps/" "/var/www/html/db_dumps/"
|
|||
|
||||
{%- macro develizer(processes, threads) %}
|
||||
{% if devel %}
|
||||
processes=1 threads={{ (threads/2) |int}}
|
||||
processes=1 threads={{ ((threads+1)/2)|int}}
|
||||
{%- else %}
|
||||
processes={{ processes }} threads={{ threads }}
|
||||
{%- endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue