Hmm yes good point, unfortunately there’s no way to avoid this. I think it’s probably worth reverting that piece because of it. I’m doing that here:
The reality is that I can’t produce a targeted subset of optimized thumbnail images from a theme this way, it has to be all or nothing. So we’ll need some other method of optimizing for more limited cases like this.
You can kill the sidekiq job from the rails console:
require "sidekiq/api"
Sidekiq::Queue.new("ultra_low").each do |job|
job.delete if job.klass == "Jobs::GenerateTopicThumbnails"
end