# Auto Close Topic by # of posts?

**URL:** https://meta.discourse.org/t/auto-close-topic-by-of-posts/213404
**Category:** Support
**Created:** [December 29, 2021, 9:05pm UTC](https://meta.discourse.org/t/auto-close-topic-by-of-posts/213404 "2021-12-29T21:05:18Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Twi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twi/32/221474_2.png) [@Twi](https://meta.discourse.org/u/Twi)
#### Post date: [December 29, 2021, 9:05pm UTC](https://meta.discourse.org/t/auto-close-topic-by-of-posts/213404/1 "2021-12-29T21:05:18Z")

</div>

I’m looking for the site setting referenced in [this topic](https://meta.discourse.org/t/linked-topics-splitting-and-managing-megatopics/168992). “auto close topics post count”

I do see the setting for the merged feature,

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/2/92fe4ce2f097d8ce4fb5d81d43ef733a33f19ac9.png)  
And above that, the setting that manages the max number of posts on private message topics

…but I don’t see anywhere in settings where I can set it that topics should close after, say 5000 posts. I thought perhaps it needed to be defined by category but I don’t see anything there (that would be even more useful tbh). To be clear, I don’t want to set a timer on the topic, it’s specifically the post count I’m trying to control. I feel like I’m missing something obvious x.x

Thanks for the help!

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [December 29, 2021, 9:10pm UTC](https://meta.discourse.org/t/auto-close-topic-by-of-posts/213404/2 "2021-12-29T21:10:20Z")

</div>

That would be this site setting `auto close topics post count`

---

<div class="post-metadata">

### Author: ![Twi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twi/32/221474_2.png) [@Twi](https://meta.discourse.org/u/Twi)
#### Post date: [December 29, 2021, 9:14pm UTC](https://meta.discourse.org/t/auto-close-topic-by-of-posts/213404/3 "2021-12-29T21:14:02Z")

</div>

I understand that’s what it’s called, but where, precisely, is that located?

And a pre-emptive answer that yes, I’ve used the search in settings.

---

<div class="post-metadata">

### Author: ![rorycb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rorycb/32/423647_2.png) [@rorycb](https://meta.discourse.org/u/rorycb)
#### Post date: [December 29, 2021, 9:19pm UTC](https://meta.discourse.org/t/auto-close-topic-by-of-posts/213404/4 "2021-12-29T21:19:17Z")

</div>

In admin-\>settings filter for `auto close messages post count` to set the number of posts to auto-close after.

For the record, a settings filter of `auto close` would have found it for you, that’s have I found the exact name.

---

<div class="post-metadata">

### Author: ![Twi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twi/32/221474_2.png) [@Twi](https://meta.discourse.org/u/Twi)
#### Post date: [December 29, 2021, 9:20pm UTC](https://meta.discourse.org/t/auto-close-topic-by-of-posts/213404/5 "2021-12-29T21:20:45Z")

</div>

> [@rorycb](#):
>
> auto close messages post count

This only affects private messages. I’m looking for `auto close topics post count`

---

<div class="post-metadata">

### Author: ![rorycb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rorycb/32/423647_2.png) [@rorycb](https://meta.discourse.org/u/rorycb)
#### Post date: [December 29, 2021, 9:25pm UTC](https://meta.discourse.org/t/auto-close-topic-by-of-posts/213404/6 "2021-12-29T21:25:45Z")

</div>

That’ll teach me for skimming descriptions 😑

I don’t have access to my non-hosted instance at the moment, so can’t double check there - hosted instance doesn’t allow that post count settings to be changed as far as I remember

---

<div class="post-metadata">

### Author: ![Twi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twi/32/221474_2.png) [@Twi](https://meta.discourse.org/u/Twi)
#### Post date: [December 29, 2021, 9:27pm UTC](https://meta.discourse.org/t/auto-close-topic-by-of-posts/213404/7 "2021-12-29T21:27:46Z")

</div>

Haha… no problem. 😉

OK, that might be the answer I’m looking for… Thank you!

---

<div class="post-metadata">

### Author: ![rorycb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rorycb/32/423647_2.png) [@rorycb](https://meta.discourse.org/u/rorycb)
#### Post date: [December 29, 2021, 9:29pm UTC](https://meta.discourse.org/t/auto-close-topic-by-of-posts/213404/8 "2021-12-29T21:29:53Z")

</div>

Just double checked - self hosted has `auto close topics post count`. SaaS hosted does not. If you are SaaS hosted you can’t change it, I believe it is set to 10,000 ( Noted here: [The MEGATOPIC: public good, or public menace? - #17 by jomaxro](https://meta.discourse.org/t/the-megatopic-public-good-or-public-menace/85592/17))

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [January 28, 2022, 9:30pm UTC](https://meta.discourse.org/t/auto-close-topic-by-of-posts/213404/9 "2022-01-28T21:30:00Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
