Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop
reconnect: true
from DB configs
We get flooded with these errors in tests: ``` WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. ``` `reconnect: true` allows for automatic reconnection to the server in the event that the server disconnects the client. One way that happens is if the connection sits unused long enough to exceed the session timeout. ARHP doesn't manage reconnection on its own so we can remove this. This did require manually adding a `connection.reconnect!` to a test where we tell the server to kill the connection. In that test we're testing that calling `reconnect!` doesn't cause us to switch to the wrong database, not the specific behavior of `reconnect: true`.
- Loading branch information
1 parent
15ca49f
commit 7015d7d
Showing
3 changed files
with
2 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters