wordpress-micropub icon indicating copy to clipboard operation
wordpress-micropub copied to clipboard

Category sometimes doesn't get set

Open snarfed opened this issue 4 months ago • 7 comments

Hi guys! I've noticed a bug (I think) that's bit me a few times over the last few months: occasionally posts will get created, and published, but the category in the micropub request doesn't get set.

I use category to hide replies, likes, reposts, etc from my home page, so the result is that those occasionally show up on the home page, which is a bit confusing and embarrassing :grin:

I think this tends to happen when either my site or the db or both are unusually slow. I'm guessing the post is getting created, and then something hits a request or db timeout somewhere, and the rest of the processing gets cut off and the category doesn't get applied. Sounds like ideally the category should get written in the same database transaction as the post?

snarfed avatar Oct 21 '24 18:10 snarfed