mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-25 12:45:17 +00:00
perf: ⚡ Change watchtime polling rate from 4x/s to 2x/s
This commit is contained in:
parent
befeba7d1b
commit
cb61f1ef69
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export default {
|
|||
controls(newVal) {
|
||||
if (newVal) { // controls are VISIBLE
|
||||
this.updateWatchTime(); // Call to immediately update
|
||||
this.runWatchTimeUpdates = setInterval(this.updateWatchTime, 250);
|
||||
this.runWatchTimeUpdates = setInterval(this.updateWatchTime, 500);
|
||||
} else { // Controls are INVISIBLE
|
||||
clearInterval(this.runWatchTimeUpdates);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue