Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --mysql-wait-timeout flag #1401

Merged

Conversation

timvaillancourt
Copy link
Collaborator

@timvaillancourt timvaillancourt commented Apr 5, 2024

A Pull Request should be associated with an Issue.

Related issue:#1402

Description

This PR adds a --mysql-wait-timeout=# flag that sets the session-level wait_timeout if > 0. This will cause the server to cleanup inactive connections sooner or later depending on the value

In case this PR introduced Go code changes:

  • contributed code is using same conventions as original code
  • script/cibuild returns with no formatting errors, build errors or unit test errors.

Signed-off-by: Tim Vaillancourt <tvaillancourt@slack-corp.com>
@timvaillancourt timvaillancourt merged commit c681f61 into github:master Apr 8, 2024
7 checks passed
timvaillancourt added a commit to timvaillancourt/gh-ost that referenced this pull request Apr 8, 2024
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
@timvaillancourt timvaillancourt mentioned this pull request Apr 8, 2024
2 tasks
@timvaillancourt timvaillancourt added this to the v1.1.7 milestone Apr 8, 2024
timvaillancourt added a commit that referenced this pull request Apr 9, 2024
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
@timvaillancourt timvaillancourt deleted the mysql-wait-timeout-flag branch April 22, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants