mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
perf: visibility-gate explore data intervals and fix lint crash
- Modifies `js/services/exploreDataService.js` to prevent starting background intervals if the document is hidden at initialization. - Updates `scripts/check-hex.js` to increase max buffer size and exclude `js/webtorrent.min.js` to prevent `ENOBUFS` crashes. - Adds `perf/hits-2026-02-17.json` inventory. - Adds `daily-perf-report-2026-02-17.md` report. - Adds `docs/agents/task-logs/daily/2026-02-17_06-45-57_perf-agent_completed.md`. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
de7fc9dbec
commit
29982cfb63
7 files changed
+76
-4
No files matched your search
@@ -167,6 +167,11 @@ export default class ExploreDataService {
|
||||
|
||||
startIntervals() {
|
||||
this.clearIntervals();
|
||||
|
||||
if (typeof document !== "undefined" && document.hidden) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Number.isFinite(this.historyRefreshIntervalMs) && this.historyRefreshIntervalMs > 0) {
|
||||
this.watchHistoryInterval = setInterval(() => {
|
||||
this.refreshWatchHistoryTagCounts({ reason: "interval" });
|
||||
|
||||
Reference in new issue
Block a user