From 903a42a968d3d7837b8e08acbe3650c4e5975020 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Sun, 28 Apr 2024 22:17:49 -0400 Subject: [PATCH] Add logging for GIF transcoding --- src/experiments.ts | 2 +- src/render/video.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/experiments.ts b/src/experiments.ts index f93b2fd..1e9fee4 100644 --- a/src/experiments.ts +++ b/src/experiments.ts @@ -36,7 +36,7 @@ const Experiments: { [key in Experiment]: ExperimentConfig } = { [Experiment.TRANSCODE_GIFS]: { name: 'Transcode GIFs', description: 'Transcode GIFs for Discord, etc.', - percentage: 0.25 + percentage: 1 } }; diff --git a/src/render/video.ts b/src/render/video.ts index a4977e6..8205107 100644 --- a/src/render/video.ts +++ b/src/render/video.ts @@ -59,6 +59,7 @@ export const renderVideo = ( Constants.TWITTER_VIDEO_BASE, `https://${Constants.GIF_TRANSCODE_DOMAIN}` ); + console.log('We passed checks for transcoding GIFs, feeding embed url', url); } /* Push the raw video-related headers */