Use ansible_processor_cores to calculate thread_concurrency
parent
ef67883ab2
commit
266af48a9b
|
@ -40,7 +40,7 @@ mysql_query_cache_size: '16M'
|
||||||
mysql_wait_timeout: 28800
|
mysql_wait_timeout: 28800
|
||||||
|
|
||||||
# Try number of CPU's * 2 for thread_concurrency.
|
# Try number of CPU's * 2 for thread_concurrency.
|
||||||
mysql_thread_concurrency: 2
|
mysql_thread_concurrency: "{{ ansible_processor_cores * 2 }}"
|
||||||
|
|
||||||
# InnoDB settings.
|
# InnoDB settings.
|
||||||
mysql_innodb_file_per_table: '1'
|
mysql_innodb_file_per_table: '1'
|
||||||
|
|
Loading…
Reference in New Issue