We can haz auto deletion of used drafts? March 23, 2017, 06:51:07 pm Was wondering if it's possible to set drafts up so that they get automatically zapped as soon as they are used in a post.So presumably this would have to have a tie between the draft ID and the post ID, so you could edit the draft and then post it without the software losing the plot.This would be cool, because then you wouldn't be crudding up the db with oodles of drafts[1] (if using a long time limit on storage), and you wouldn't have to worry about losing ones you had saved but not used yet (if using a short time limit on storage).Can be done? Easy? ZOMFG?1 Incidentally, we found that having oodles of drafts linked to a thread can make the post editor respond really slowly, for some weird reason. As soon as the majority of the linked drafts were zapped (by changing the time limit in admin) response times went back to normal.This was on an 800 page thread, which gives you some idea of the number of drafts that could build up. Also gives you some idea of Elk's ability to handle really long threads (seems to do it very well).↵
Re: We can haz auto deletion of used drafts? Reply #1 – March 24, 2017, 05:09:27 am QuoteZOMFGNo kitteh? ZOMG??(blarg)
Re: We can haz auto deletion of used drafts? Reply #2 – March 24, 2017, 08:45:15 am There is an option in the admin panel that auto-deletes drafts after a certain amount of time.Drafts are deleted when posted, though it's not always true because... for sure several edge cases, I think @Spuds kept a somehow conservative approach to avoid losing data needed, because usually it's easier to delete something rather than recover it.
Re: We can haz auto deletion of used drafts? Reply #3 – March 24, 2017, 02:50:03 pm Hmm. Given the number of them that we had building up there must have either been a lot of edge cases or, more likely, people simply weren't using them for posts. Or a combination of the two.