Skip to content

Commit

Permalink
**Fixes**
Browse files Browse the repository at this point in the history
- some trouble on restart after data error
  • Loading branch information
PLCHome committed Jul 20, 2020
1 parent 20e9d84 commit d50113e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

**Fixes**
- some trouble on data error and end the socket
- some trouble on restart after data error

### 1.1.23: Maintenance Release

Expand Down
3 changes: 1 addition & 2 deletions ads-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ module.exports = function (RED) {
if (node.system.connectState == adsHelpers.connectState.CONNECTING) {
internalSetConnectState(adsHelpers.connectState.ERROR)
}
removeClient()
startTimer(20000)
internalRestart(connect)
}
}
)
Expand Down

0 comments on commit d50113e

Please sign in to comment.