Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Commit d7551c7

Browse files
committed
added wait_timout and innodb_force_primary_key
1 parent 20561ec commit d7551c7

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

jobs/mysql/spec

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,13 @@ properties:
263263
description: 'Threshold in seconds above which SQL queries get logged in the slow query log file'
264264

265265
cf_mysql.mysql.bootstrap_enabled:
266-
default: true
266+
default: true
267267
description: 'Enables usage of bootsrap procedure'
268268

269+
cf_mysql.mysql.wait_timeout:
270+
default: 28800
271+
description: 'The number of seconds the server waits for activity on a noninteractive connection before closing it'
272+
273+
cf_mysql.mysql.innodb_force_primary_key:
274+
default: false
275+
description: 'The number of seconds the server waits for activity on an interactive connection before closing it'

jobs/mysql/templates/my.cnf.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ innodb_log_buffer_size = <%= p('cf_mysql.mysql.innodb_log_buffer_size')
194194

195195
max_connections = <%= p('cf_mysql.mysql.max_connections') %>
196196

197+
wait_timeout = <%= p('cf_mysql.mysql.wait_timeout') %>
198+
199+
innodb_force_primary_key = <%= p('cf_mysql.mysql.innodb_force_primary_key') %>
200+
197201
# Event Scheduler
198202
event_scheduler = <%= p('cf_mysql.mysql.event_scheduler') %>
199203

0 commit comments

Comments
 (0)