Use ansible_processor_cores to calculate thread_concurrency

pull/18/head
Jasper N. Brouwer 2017-06-28 21:56:23 +02:00
parent ef67883ab2
commit 266af48a9b
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ mysql_query_cache_size: '16M'
mysql_wait_timeout: 28800
# Try number of CPU's * 2 for thread_concurrency.
mysql_thread_concurrency: 2
mysql_thread_concurrency: "{{ ansible_processor_cores * 2 }}"
# InnoDB settings.
mysql_innodb_file_per_table: '1'