add: debug logging for collectMilestoneSnapshotsWorker
This commit is contained in:
parent
3a83df7954
commit
dd720b18fa
@ -153,6 +153,7 @@ export const collectMilestoneSnapshotsWorker = async (_job: Job) => {
|
|||||||
const videos = await getVideosNearMilestone(client);
|
const videos = await getVideosNearMilestone(client);
|
||||||
for (const video of videos) {
|
for (const video of videos) {
|
||||||
const aid = Number(video.aid);
|
const aid = Number(video.aid);
|
||||||
|
console.debug(aid, video.aid);
|
||||||
const eta = await getAdjustedShortTermETA(client, aid);
|
const eta = await getAdjustedShortTermETA(client, aid);
|
||||||
logger.log(`ETA for ${aid}: ${eta}`)
|
logger.log(`ETA for ${aid}: ${eta}`)
|
||||||
if (eta > 72) continue;
|
if (eta > 72) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user