Ajout de la possibilité de spécifier "innodb_lock_wait_timeout"

This commit is contained in:
Philippe Caseiro 2018-09-03 12:05:07 +02:00
parent cb7954fb66
commit 29aca663dd
2 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,9 @@
<variable name='dbInnoDBLogFileSize' type='number' description="Taille des fichiers de transaction InnoDB"> <variable name='dbInnoDBLogFileSize' type='number' description="Taille des fichiers de transaction InnoDB">
<value>6</value> <value>6</value>
</variable> </variable>
<variable name='dbInnoDBLockWaitTimeout' type='number' description="Nombre de millisecondes d'attente avant de fermer la connection en lock (innodb_lock_wait_timeout)">
<value>120</value>
</variable>
<variable name="dbMaxConnections" type="number" description="Nombre de connection maximum pour le serveur de bases de données (max_connections)"> <variable name="dbMaxConnections" type="number" description="Nombre de connection maximum pour le serveur de bases de données (max_connections)">
<value>100</value> <value>100</value>
</variable> </variable>

View File

@ -5,6 +5,7 @@ skip-name-resolve
innodb_buffer_pool_size=%%getMemoryPercentage(%%getVar('dbInnoDBBufferPoolPercentage', 10)) innodb_buffer_pool_size=%%getMemoryPercentage(%%getVar('dbInnoDBBufferPoolPercentage', 10))
innodb_log_buffer_size=%%{dbInnoDBLogBufferSize}M innodb_log_buffer_size=%%{dbInnoDBLogBufferSize}M
innodb_log_file_size=%%{dbInnoDBLogFileSize}M innodb_log_file_size=%%{dbInnoDBLogFileSize}M
innodb_lock_wait_timeout=%%{dbInnoDBLockWaitTimeout}
max_connections=%%dbMaxConnections max_connections=%%dbMaxConnections
thread_cache_size=%%dbThreadCacheSize thread_cache_size=%%dbThreadCacheSize