unbound(role): make unbound thread number configurable
This commit is contained in:
parent
960315d182
commit
c051fc6337
2 changed files with 3 additions and 2 deletions
|
|
@ -7,8 +7,8 @@ server:
|
|||
auto-trust-anchor-file: "/etc/unbound/trusted-key.key"
|
||||
{% endif -%}
|
||||
|
||||
# use all CPUs
|
||||
num-threads: {{ ansible_facts['processor_vcpus'] }}
|
||||
# num of threads
|
||||
num-threads: {{ unbound_thread_count | default(ansible_facts['processor_vcpus']) }}
|
||||
|
||||
# more cache memory
|
||||
rrset-cache-size: 60m
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue