Closed xmatthewx closed 9 years ago
I thought doing this would be fairly straight forward (and it kinda is)... Here's a breakdown of the steps
Which is going to be one heck of a script.
Is it worth the effort?
cc @jbuck @ashleygwilliams @xmatthewx
@secretrobotron - We had a snafu with thumbnails. Trying to weight the cost & benefit of generating them for existing projects. It will certainly impact users who return to the app after playing around ... and make it easier for you to browse new projects to feature.
@cadecairos - how much time would you estimate?
half a days worth of work to write and test the script
:+1:
@cadecairos lots of the projects are empty. detecting those and skipping over them will be useful, i bet.
Thanks for the speedy work on this. Are we throttling the script? Should we, to avoid impact on active users?
It shouldn't interfere with any active users, afaict. I'm monitoring prod stats just in case
also, it's throttled to only update one project at a time.
Cool cool :relieved:
We're all fixed up!
~ $ node scripts/regenerate_thumbnails.js "projects.thumbnail = '{}'"
Found 0 rows to update
Thumbnail queue empty. Nice job!
:dart: :clap: :cake:
Projects created since snippet launch are missing thumbnails.
cc @cadecairos @ashleygwilliams