Skip to content

Commit

Permalink
add mysql wait timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
flachesis committed Sep 27, 2021
1 parent 6ec25aa commit 6aa52b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/proxysql/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.2.2
version: 1.3.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/proxysql/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ data:
threads=4
threshold_query_length=524288
threshold_resultset_size=4194304
wait_timeout=28800000
wait_timeout={{ int .Values.proxysql.mysql.waitTimeout }}
monitor_enabled={{ .Values.proxysql.monitor.enabled }}
{{- if .Values.proxysql.monitor.enabled }}
monitor_connect_interval=120000
Expand Down
1 change: 1 addition & 0 deletions charts/proxysql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ proxysql:
port: 3306
maxConnections: 2048
queyCacheSizeMB: 256
waitTimeout: 28800000
readWriteSplit: true
servers: []
# - isWriter: true
Expand Down

0 comments on commit 6aa52b3

Please sign in to comment.