-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Describe the bug
If the adapter loses the connection to the database, the state sql.0.info.connection is not set to false, and the log shows Error: connect ETIMEDOUT.
To Reproduce
Steps to reproduce the behavior:
- Break the connection between sql server and iobroker
- Error
Error: connect ETIMEDOUTis shown in the log - state
sql.0.info.connectionis still true - See error
Expected behavior
State sql.0.info.connection should be false, because there is not connection to the sql server.
Ok a timeout can happen, but after 5x timeouts in a row, you can expect there is no connection to the server any more
Versions:
- Adapter version: 2.2.0
- JS-Controller version: 5.0.19
- Node version: v18.20.0
- Operating system: ubuntu
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels