# 升级后丢失了待发布帖子的队列

**URL:** <https://meta.discourse.org/t/lost-queue-of-pending-posts-after-upgrading/79553>\
**Category:** Feature\
**Created:** [2018年二月1日 16:15 UTC](https://meta.discourse.org/t/lost-queue-of-pending-posts-after-upgrading/79553 "2018-02-01T16:15:08Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![razvan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/razvan/32/120366_2.png) [@razvan](https://meta.discourse.org/u/razvan)\
**Post date:** [2018年二月1日 16:15 UTC](https://meta.discourse.org/t/lost-queue-of-pending-posts-after-upgrading/79553/1 "2018-02-01T16:15:08Z")

</div>

I upgraded today to the latest version of Docker and latest Discourse and when it got back online I noticed the posts-to-be-approved queue was significantly shorter. I noticed it got trimmed to only the latest two months of pending posts. Any idea what happened here? Where did the older posts go?

---

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2018年二月4日 06:48 UTC](https://meta.discourse.org/t/lost-queue-of-pending-posts-after-upgrading/79553/2 "2018-02-04T06:48:27Z")

</div>

Why did you know that you had such a long queue of pending posts and didn’t clear it out?

I’m going to guess that there’s a cleanup task that runs during upgrades to purge pending posts more than 60 days old.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2018年二月4日 07:05 UTC](https://meta.discourse.org/t/lost-queue-of-pending-posts-after-upgrading/79553/3 "2018-02-04T07:05:29Z")

</div>

This is indeed a feature, I believe there is a site setting controlling the number of days before pending flags are ignored @neil?

---

<div class="post-metadata">

**Author:** ![razvan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/razvan/32/120366_2.png) [@razvan](https://meta.discourse.org/u/razvan)\
**Post date:** [2018年二月4日 16:27 UTC](https://meta.discourse.org/t/lost-queue-of-pending-posts-after-upgrading/79553/4 "2018-02-04T16:27:01Z")

</div>

Haven’t happened before after upgrades in four years since we’re using Discourse. When did this new behavior appear?

---

<div class="post-metadata">

**Author:** ![razvan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/razvan/32/120366_2.png) [@razvan](https://meta.discourse.org/u/razvan)\
**Post date:** [2018年二月4日 16:29 UTC](https://meta.discourse.org/t/lost-queue-of-pending-posts-after-upgrading/79553/5 "2018-02-04T16:29:47Z")

</div>

Any idea what/where that setting is?

EDIT: Is this the new “feature”/setting?

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/6/0621288641f69237fafe3b69cdaf200fff990a2d.png)

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2018年二月4日 17:56 UTC](https://meta.discourse.org/t/lost-queue-of-pending-posts-after-upgrading/79553/6 "2018-02-04T17:56:49Z")

</div>

Yea that’s the one. Flags older than 2 months clearly are outdated and of no interest anymore.

---

<div class="post-metadata">

**Author:** ![razvan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/razvan/32/120366_2.png) [@razvan](https://meta.discourse.org/u/razvan)\
**Post date:** [2018年二月5日 10:40 UTC](https://meta.discourse.org/t/lost-queue-of-pending-posts-after-upgrading/79553/7 "2018-02-05T10:40:10Z")

</div>

> Flags older than 2 months clearly are outdated and of no interest anymore.

Fair assumption, but a poor one for not taking into consideration all the ways in which Discourse could be used.

Any idea when this feature has been introduced?

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2018年二月5日 10:42 UTC](https://meta.discourse.org/t/lost-queue-of-pending-posts-after-upgrading/79553/8 "2018-02-05T10:42:22Z")

</div>

> [@razvan](#):
>
> Fair assumption, but a poor one for not taking into consideration all the ways in which Discourse could be used.

I would love to be proven wrong 😉 Please do explain how you use the flag system.

> [@razvan](#):
>
> Any idea when this feature has been introduced?

About 5 months ago

[https://github.com/discourse/discourse/commit/16fe7aa307a28eba34161d4597df8c2fd486c5c8](https://github.com/discourse/discourse/commit/16fe7aa307a28eba34161d4597df8c2fd486c5c8)

---

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [2018年二月5日 15:39 UTC](https://meta.discourse.org/t/lost-queue-of-pending-posts-after-upgrading/79553/9 "2018-02-05T15:39:28Z")

</div>

> [@razvan](#):
>
> Fair assumption, but a poor one for not taking into consideration all the ways in which Discourse could be used.

How were you using the post approval queue? 🤔

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2018年八月23日 21:51 UTC](https://meta.discourse.org/t/lost-queue-of-pending-posts-after-upgrading/79553/10 "2018-08-23T21:51:22Z")

</div>


