Not sure if something you changed with the fuzzy image loading is being applied to user profile pictures, but I’ve noticed that after upgrading to 2.2.0.beta7 quite a few user images are either failing to load entirely (leaving just an empty white space) or are loading very, very slowly.
Thanks Sam. This does seem to be improving (but not yet finished) on our site. Just taking much longer than I’d think it would to rebuild avatars. Like, several hours for just a couple thousand users. That’s w/ the $10/mo Digital Ocean droplet…looks like it’s maxed out our CPU for going on 5 hours . Not sure if that’s about in line w/ what you’d expect, just FYI.
Would it be a good idea to add this kind of events when you release the new beta version posts from #feature:announcements so that nobody will go OMG my forum iz now broken!!! PANIC!!! ?
Something like
Deploy attention:
because of <commit here>, after you upgrade your discourse all posts containing images will be rebaked so your forum will be a little slow for a while.
because of <meta post here>, after you upgrade avatars will be a little bit slow to show but it will go away in a few hours.
Yeah @jomaxro can add a note to next beta (which is when this officially lands) informing people to expect high CPU usage for a few hours after this upgrade due to image re-optimization.
I tweaked this today a fair bit to avoid queue starvation and issues where avatar resizing was taking way too long, but you should expect a reasonable CPU jump temporarily while stuff is catching up.
We basically needed to go to every post with images and rebake, then resize all the images. Plus resize all the avatars.
We did this cause our new algorithm for resizing is far more efficient. Plus you get retina image support and “fuzzy” image while it loads on old posts.
We have over 500,000 uploaded images that need to be reprocessed, so we’re looking at about 2 months of reprocessing. I’ll need to be very careful when deploying this change, I’m not too excited about it, tbh.
I see the convert task is working away in htop still after 24 hours, but making progress. Is there any way to know how much longer this will take? Is there a way to de-prioritize the task so my site is not brought to its knees while this is going on? Quite a painful upgrade.