Skip to content

Commit

Permalink
Send time every four seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Jimenez Esun committed Apr 14, 2020
1 parent a11d322 commit 1329ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/service/music-server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ module.exports = class MusicServer {
dgramServer.bind(this._config.port);
httpServer.listen(this._config.port);

setTimeout(this._sendAudioEvents.bind(this, this._zones), 2000);
setInterval(this._sendAudioEvents.bind(this, this._zones), 4000);

this._dgramServer = dgramServer;
this._httpServer = httpServer;
Expand Down

0 comments on commit 1329ce7

Please sign in to comment.