Skip to content

Commit

Permalink
Removed () from callback function
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Robsahm committed Dec 21, 2016
1 parent 5feb6df commit 59c7826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const initializeConfigUpdate = (conf) => {
webSocket.on("open", () => {
retryNumOfTimes = 0;
requestConfig(webSocket, conf.environment);
ping = setInterval(webSocket.ping(), 15000);
ping = setInterval(webSocket.ping, 15000);
});

webSocket.on("message", (message) => {
Expand Down

0 comments on commit 59c7826

Please sign in to comment.