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

Commit

Permalink
receiver: send heartbeats more often
Browse files Browse the repository at this point in the history
On low-end devices, like a Chromecast, the device can become so busy on
rendering that heartbeats are not sent. Ensure we send them by sending
them more often. Maybe this could be done in a worker?
  • Loading branch information
vincentbernat committed Sep 23, 2015
1 parent cac7c6b commit 462a7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/receiver/supervisor.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = (function(window) {
window.clearTimeout(lastTimeout);
}
if (timeout) {
lastTimeout = window.setTimeout(ready, timeout * 0.8);
lastTimeout = window.setTimeout(ready, timeout * 0.3);
}
};

Expand Down

0 comments on commit 462a7d5

Please sign in to comment.