add: debug logging for collectMilestoneSnapshotsWorker

This commit is contained in:
alikia2x (寒寒) 2025-04-06 16:19:05 +08:00
parent 3a83df7954
commit dd720b18fa
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6

View File

@ -153,6 +153,7 @@ export const collectMilestoneSnapshotsWorker = async (_job: Job) => {
const videos = await getVideosNearMilestone(client);
for (const video of videos) {
const aid = Number(video.aid);
console.debug(aid, video.aid);
const eta = await getAdjustedShortTermETA(client, aid);
logger.log(`ETA for ${aid}: ${eta}`)
if (eta > 72) continue;