Hanging on "Publishing the latest changes..."

I’ve noticed lately that my blog posts hang on the Publishing Latest Changes to Your Blog… message.

Any idea what would be causing this?

If you go to Micro.blog what do you see? It’s very possible if you’re making many quick changes in succession you’re getting hit with “build in progress” and being pushed back in the queue so there are not too many successive rebuilds.

Yes, it’s either what @jsonbecker said or in rare cases the publishing can stall and it takes a little while for Micro.blog to fix itself. In both cases you can often speed it up by just re-saving your last post again.

I’m sorry about this. I’m looking into improving this so that it more quickly recovers.

It’s of no huge concern, as the post eventually lands, but it’s happening when I post a new blog, full stop. Not edits or changes, just write → post.

I was, more than anything, worrying that this might be indicative of a bigger issue.

Okay, that’s good to know. That must be a bigger issue if it always happens. I’m investigating, will get it fixed.

I’ve also noticed some hanging on publishing of late. Some posts appear to sail through, others just take their time.

Experiencing hanging again. About 4hrs so far?

Would love some insight here.

Yikes, that is way too long. If publishing takes more than about a couple minutes, I recommend editing the post and re-saving it. That will force Micro.blog to try again if something went wrong.

I’ve been investigating this delay this morning and have a couple improvements I’ll be making. First to make things generally faster, and also adding a check for if something crashes and to automatically publish again.

1 Like

Thanks as always! If you need anything from my end, please let me know.

Encountering this issue again, about 7 minutes hanging so far for a purely text post.

Anything wrong with my blog specifically I need to change?

Sorry, I’m not seeing anything particularly wrong right now with your blog on first glance. I did a test publish and it was about 15 seconds. If you see in taking minutes again, send us a quick email to help@micro.blog and I’ll investigate further. Sorry about that! We’ll keep trying to optimize it.

Sometimes you can’t avoid many little changes.

It would be nice to have a batch update feature. I’m guessing that that would eleviate some of the queueing?

The queue is effectively a batch– “hey, you’ve made a lot of changes too fast for me to catch up, so I’ll build it in a few minutes”– it doesn’t queue only the one change, it’ll build the blog in the state it’s at when the time comes up on the queue– I’m 99% sure the queue is “wait to run hugo build” but in the mean time all your files and changes are being saved, just not built and published.

That does feel like how it works, but often the build starts and you still haven’t finished making small changes. Having an option to tell it to hold off, then run once you’ve completed might be more helpful and be more efficient on the backend system. Just a thought.

Yeah, this is something I’d really like to improve. I’ve been making some tiny optimizations for publishing to get things faster, and improving how multiple changes are queued would go along well with that. Thanks y’all.

I could imagine something like “design mode” or “dev mode” when you open up to make design tweaks that is a little pop up like “hey, are you about to make a bunch of changes? If you click this button, we won’t execute a fresh build when changing theme files until you hit this again or 1 hour passes without any theme changes” – but making a post would still execute a build.