From 4839e59cafb96cbe25c42c9b9221f2baf1c104db Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Wed, 13 Aug 2025 15:25:01 +0000 Subject: [PATCH] disable image optimizer (too slow rn) --- workers/screenshot_worker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workers/screenshot_worker.rb b/workers/screenshot_worker.rb index 75c9b395..ebbf54a5 100644 --- a/workers/screenshot_worker.rb +++ b/workers/screenshot_worker.rb @@ -56,7 +56,7 @@ class ScreenshotWorker # We only need the full PNG for the main index right now if path.match /^\/index.html?$/ - ImageOptimizer.new(base_image_tmpfile_path, level: 1).optimize + #ImageOptimizer.new(base_image_tmpfile_path, level: 1).optimize FileUtils.cp base_image_tmpfile_path, File.join(user_screenshots_path, "#{path}.png") end