Skip to content

Commit

Permalink
fix(nodecg-utility-obs): fix the previous commit not actually doing a…
Browse files Browse the repository at this point in the history
…nything except logspam
  • Loading branch information
from-the-river-to-the-sea committed Aug 5, 2017
1 parent 02594d7 commit 5ed2125
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nodecg-utility-obs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ class OBSUtility extends OBSWebSocket {
setInterval(() => {
if (websocketConfig.value && websocketConfig.value.status === 'connected' && !this._connected) {
log.warn('Thought we were connected, but the automatic poll detected we were not. Correcting.');
clearInterval(this._reconnectInterval);
this._reconnectToOBS();
}
}, 1000);
Expand Down

0 comments on commit 5ed2125

Please sign in to comment.