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 lock_wait_timeout option only if positive #896

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

festeveira
Copy link

This PR conditionally sets the connection option lock_wait_timeout only if it is positive. This allows the user to define a negative value for this option via command line options and making the exporter work again with older versions of mysql, while still behaving the same way by default.

Was really helpful for me, I need to monitor several instances in multi target mode and most of them are unsupported versions. Unless you see a problem with this I think it would be nice to have it merged.

Francisco Esteveira added 3 commits November 21, 2024 19:07
Signed-off-by: Francisco Esteveira <[email protected]>
Signed-off-by: Francisco Esteveira <[email protected]>
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.

1 participant