Merge pull request #1522 from Materialious/update/1.16.10

Ensure priority for getting watch history is high
This commit is contained in:
Ward
2026-03-05 17:30:13 +13:00
committed by GitHub
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ const videoIds: string[] = [];
const pendingResolves = new Map<string, (result: VideoWatchHistory | undefined) => void>();
let timeout: ReturnType<typeof setTimeout> | null = null;
const DEBOUNCE_MS = 1000;
const DEBOUNCE_MS = 2000;
const BATCH_SIZE = 100;
async function processBatches(): Promise<void> {
@@ -20,7 +20,7 @@ async function processBatches(): Promise<void> {
for (const batch of batches) {
const res: VideoWatchHistory[] = await getWatchHistory({
videoIds: batch,
fetchOptions: { priority: 'low' }
fetchOptions: { priority: 'high' }
});
results.push(...res);
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -3,7 +3,7 @@ import os
import re
from datetime import datetime
LATEST_VERSION = "1.16.9"
LATEST_VERSION = "1.16.10"
RELEASE_DATE = datetime.now().strftime("%Y-%-m-%d") # Format: YYYY-M-D
WORKING_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "materialious")