Skip to content

Commit

Permalink
Fix the stats socket reconnection rate on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Jul 30, 2024
1 parent 5708d22 commit 622a2b4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion extensions/stats/stats.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified extensions/stats/stats.min.js.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions extensions/stats/stats.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const stats = {
this.shutdown();
setTimeout(() => {
this.enable();
}, this.getInterval() * 1000 * 3);
}, this.getInterval() * 1000 * 4);
},
// Disable the stats broadcast for the client
disable: function () {
Expand Down Expand Up @@ -184,7 +184,7 @@ const stats = {
(this.requery = setTimeout(() => {
this.requery = null;
this.activate();
}, this.getInterval() * 1000));
}, this.getInterval() * 1000 * 4));
},
success: function (data) {
// Do we have socket opened?
Expand Down Expand Up @@ -223,7 +223,7 @@ const stats = {
this.socket = null;
this.activating = 0;
this.enable();
}, this.getInterval());
}, this.getInterval() * 1000 * 4);
};
} else {
// Reset activating flag
Expand Down
2 changes: 1 addition & 1 deletion theme.info
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bootstrap=3
spa=1
nomodcall=xnavigation=1
version=21.20.4-beta2
mversion=01
mversion=02
bversion=00
webmin=1
usermin=1
Expand Down
Binary file modified unauthenticated/js/bundle.min.js.gz
Binary file not shown.

0 comments on commit 622a2b4

Please sign in to comment.