Commit 1e4bc69c authored by Chris Croome's avatar Chris Croome

less threads for clamav

parent 4c4daa22
......@@ -9,9 +9,9 @@
var: ansible_processor_vcpus
verbosity: 1
- name: "Set a fact for the numver of ClamAV threads based on a quarter of the number of CPUs rounded up to the nearest whole number"
- name: "Set a fact for the number of ClamAV threads based on a fifth of the number of CPUs rounded up to the nearest whole number"
set_fact:
nextcloud_clamav_threads: "{{ ( ansible_processor_vcpus * 0.25 ) | round(0, 'ceil') | int }}"
nextcloud_clamav_threads: "{{ ( ansible_processor_vcpus * 0.2 ) | round(0, 'ceil') | int }}"
- name: Print the max ClamAV threads
debug:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment