Adjust background tabs max update interval down to 5 minutes instead of 10.
This commit is contained in:
parent
e60c01bd78
commit
ff4c107add
@ -3004,7 +3004,7 @@
|
|||||||
if (!(d.hidden || d.oHidden || d.mozHidden || d.webkitHidden)) {
|
if (!(d.hidden || d.oHidden || d.mozHidden || d.webkitHidden)) {
|
||||||
j = Math.min(j, 6);
|
j = Math.min(j, 6);
|
||||||
}
|
}
|
||||||
return Math.max(i, [5, 10, 15, 20, 30, 60, 90, 120, 300, 600][j]);
|
return Math.max(i, [5, 10, 15, 20, 30, 60, 90, 120, 240, 300][j]);
|
||||||
},
|
},
|
||||||
timeout: function() {
|
timeout: function() {
|
||||||
var n;
|
var n;
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
master
|
master
|
||||||
- Mayhem
|
- Mayhem
|
||||||
|
Adjust background tabs max update interval down to 5 minutes instead of 10.
|
||||||
Divide the Delete Link in the Menu into a Post and Image deletion links.
|
Divide the Delete Link in the Menu into a Post and Image deletion links.
|
||||||
The Delete Links in the Menu now have a cooldown.
|
The Delete Links in the Menu now have a cooldown.
|
||||||
|
|
||||||
|
|||||||
@ -2409,7 +2409,7 @@ Updater =
|
|||||||
unless d.hidden or d.oHidden or d.mozHidden or d.webkitHidden
|
unless d.hidden or d.oHidden or d.mozHidden or d.webkitHidden
|
||||||
# Don't increase the refresh rate too much on visible tabs.
|
# Don't increase the refresh rate too much on visible tabs.
|
||||||
j = Math.min j, 6
|
j = Math.min j, 6
|
||||||
Math.max i, [5, 10, 15, 20, 30, 60, 90, 120, 300, 600][j]
|
Math.max i, [5, 10, 15, 20, 30, 60, 90, 120, 240, 300][j]
|
||||||
|
|
||||||
timeout: ->
|
timeout: ->
|
||||||
Updater.timeoutID = setTimeout Updater.timeout, 1000
|
Updater.timeoutID = setTimeout Updater.timeout, 1000
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user