Skip to content

Commit 35105ff

Browse files
committed
Gaurd against runaway audio processing.
1 parent 6282a57 commit 35105ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/src/events/scrapeEvents.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ const shouldScrapeVideo = async (EventId: number) => {
279279
if (!eventData) {
280280
return false
281281
}
282-
if (!eventData.videoFetchedAt) {
282+
if (!eventData.videoURL) {
283283
return withinCutoff(new Date(Hearing.check(eventData).startsAt.toDate()))
284284
}
285285
return false

0 commit comments

Comments
 (0)