Skip to content

Commit f51670f

Browse files
committed
isProcessing to false after video processing finishes
1 parent d08b52b commit f51670f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/trigger/video-processing.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ export const videoProcessingTask = schemaTask({
127127
logger.info(`Finished video download ${mpbs}mpbs`, { mpbs });
128128

129129
const promises: Promise<unknown>[] = [];
130-
const dbUpdatePayload: Partial<typeof videos.$inferInsert> = {};
130+
131+
const dbUpdatePayload: Partial<typeof videos.$inferInsert> = {
132+
isProcessing: false,
133+
};
131134

132135
if (steps.includes("video-size")) {
133136
logger.info("Getting video size");

0 commit comments

Comments
 (0)