Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
Removing commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
gregtuc committed Apr 30, 2021
1 parent dbbe56e commit d735c39
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/StockSocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ async function startDataFeed(input, callback) {

var ws = new WebSocket("wss://streamer.finance.yahoo.com");

//Restart socket connection if it exists already.
//if (tickersArray.length > input.length) {
// ws = new WebSocket("wss://streamer.finance.yahoo.com");
//}

//Sending tickers that will receive Websocket information.
ws.onopen = function open() {
console.log("StockSocket has opened a WebSocket Connection with Yahoo.");
Expand Down

0 comments on commit d735c39

Please sign in to comment.