Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Remove testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelelliot committed Dec 16, 2019
1 parent 721fb2d commit 548a887
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@ export default function createWatcher(model, config) {
log(`Reconnecting in ${state.config.wsReconnectTimeout / 1000} seconds.`);
reconnectWebSocket(state.config.wsReconnectTimeout);
});
// Test websocket disconnection
setTimeout(function() {
log('Forcing disconnect');
state.ws.close();
}, 10000);
}
}

Expand Down

0 comments on commit 548a887

Please sign in to comment.