Calculated read time is high though there is only one post

I noticed that the read time shown at some topics seems very high compared to the number of posts.
For example, there is only one post at the Custom Wizard Plugin ๐Ÿง™ topic, but the read time is more than 3 hours.


Are deleted posts included when the read time is calculated?

5๊ฐœ์˜ ์ข‹์•„์š”

Hah, yeah, I donโ€™t think you need a full 3 hours to read that topic. Good attentive eye!

6๊ฐœ์˜ ์ข‹์•„์š”

Looking at https://meta.discourse.org/t/custom-wizard-plugin/73345.jsonโ€ฆ the posts_count there is correctly 1โ€ฆ but the word count is 95026 :exploding_head: โ€” looks like this isnโ€™t being updated when replies are deleted.

I also notice that there are 31 links listedโ€ฆ so those are coming through deleted replies as well.

7๊ฐœ์˜ ์ข‹์•„์š”

Oh myโ€ฆ this is a double bug:

Post Revisor is not excluding posts with deleted_at not null

And Post Destroyer does nothing: discourse/lib/post_destroyer.rb at 45abb67f432bd009ca1bfef3e7735e632a4299fd ยท discourse/discourse ยท GitHub

So there is no workaround here even.

We will sort it out

3๊ฐœ์˜ ์ข‹์•„์š”

Having a quick look :face_with_monocle:

2๊ฐœ์˜ ์ข‹์•„์š”

This will be fixed by :point_down:

https://github.com/discourse/discourse/pull/27065

5๊ฐœ์˜ ์ข‹์•„์š”

Works great. Thank you!

Those are still there.

2๊ฐœ์˜ ์ข‹์•„์š”

This topic was automatically closed after 2 days. New replies are no longer allowed.