Drafts and Draft Clean-up

What are Microblog drafts?

The Microblog creates draft versions of microposts.

A draft is created and stored when a user enters the text editor but then reloads the tab without publishing their micropost.

Usually, drafts that are older than 6 hours are cleaned up by a scheduled cron job. The Microblog tries to delete up to 1000 drafts (which are older than 6 hours) with every scheduled job.

How to clean-up Microblog drafts

Microblog drafts should be automatically cleaned-up by the Microblog every hour.

However, prior to Microblog 5.1.4, there was a bug which prevented the scheduled job from running, therefore possibly leading to large amounts of stored drafts.

We fixed this bug in Microblog 5.1.4, but in case you are still having some issues with the drafts, let’s see how to clean them up manually.

Navigate to Confluence administration → Administration → Scheduled Jobs.

Once there, search for “Microblog – Draft CleanUp“.

Next to the scheduled job’s name, click on the Run button.

If you suspect that there are more than 1000 drafts stored in your system, let the job run several times, just to be sure.