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

set timeout options to prevent "connnect", "real_query" to be blocked for tens of minutes #152

Merged
merged 1 commit into from
Mar 4, 2021

Conversation

wincsb
Copy link
Contributor

@wincsb wincsb commented Mar 2, 2021

Set the MYSQL_OPT_CONNECT_TIMEOUT, MYSQL_OPT_READ_TIMEOUT, MYSQL_OPT_WRITE_TIMEOUT options to prevent switching VIP/restarting the gateway after unplugging the network cable, causing "connnect", "real_query", etc. to be blocked for tens of minutes

…WRITE_TIMEOUT options to prevent switching VIP/restarting the gateway after unplugging the network cable, causing "connnect", "real_query", etc. to be blocked for tens of minutes
@ruanshudong ruanshudong merged commit 2966d38 into TarsCloud:release/2.4 Mar 4, 2021
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