Skip to content

Commit

Permalink
Reduce frequency of connectivity message
Browse files Browse the repository at this point in the history
  • Loading branch information
BlythMeister authored Oct 12, 2024
1 parent c2079f0 commit b39a768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/366x366/app/connectivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ setInterval(function () {

var lastSentAge = lastSent == null ? 999999 : Date.now() - lastSent;
var lastReceivedAge = lastReceived == null ? 999999 : Date.now() - lastReceived;
if (lastSentAge > 600000 && lastReceivedAge > 600000) {
if (lastSentAge > 120000 && lastReceivedAge > 120000) {
try {
msgq.send("connectivity", { }, true);
} catch (e) {
Expand Down

0 comments on commit b39a768

Please sign in to comment.