We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Programmatically disconnecting MySQL adapater when "autoReconnect" is enabled it's impossible. The auto-reconnect feature will re-enable connection.
If you call:
const caminte = require('caminte'); let Schema = caminte.Schema; let _test = new Schema('mysql', { driver: 'mysql', host: 127.0.0.1, database: 'test', pool: false, ssl: true, autoReconnect: true, debug: false }); ... _test .disconnect();
Caminte is still connected
Using "autoReconnect" set to false seems to solve the situation.
Problaby the "disconnect" method should clear also the intervals set here or here
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Programmatically disconnecting MySQL adapater when "autoReconnect" is enabled it's impossible.
The auto-reconnect feature will re-enable connection.
If you call:
Caminte is still connected
Using "autoReconnect" set to false seems to solve the situation.
Problaby the "disconnect" method should clear also the intervals set here or here
The text was updated successfully, but these errors were encountered: