# 我在哪里更改10天的话题锁定期？

**URL:** <https://meta.discourse.org/t/where-do-i-change-the-10-day-topic-lock-period/63947>\
**Category:** Support\
**Created:** [2017年六月5日 11:55 UTC](https://meta.discourse.org/t/where-do-i-change-the-10-day-topic-lock-period/63947 "2017-06-05T11:55:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghenne](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ghenne/32/70801_2.png) [@ghenne](https://meta.discourse.org/u/ghenne)\
**Post date:** [2017年六月5日 11:55 UTC](https://meta.discourse.org/t/where-do-i-change-the-10-day-topic-lock-period/63947/1 "2017-06-05T11:55:46Z")

</div>

Topics get locked after 10 days of no activity. It seems there should a setting to change this, but I cannot find it. Any idea what it is called?

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2017年六月5日 11:56 UTC](https://meta.discourse.org/t/where-do-i-change-the-10-day-topic-lock-period/63947/2 "2017-06-05T11:56:42Z")

</div>

It should be in the Edit Category area. I believe that option is only per Category (and not globally)

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2017年六月5日 11:58 UTC](https://meta.discourse.org/t/where-do-i-change-the-10-day-topic-lock-period/63947/3 "2017-06-05T11:58:03Z")

</div>

I see only one 10 days entry in `site_settings.yml`, might be this:

> <https://github.com/discourse/discourse/blob/main/config/site_settings.yml#L485>

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2017年六月5日 12:05 UTC](https://meta.discourse.org/t/where-do-i-change-the-10-day-topic-lock-period/63947/4 "2017-06-05T12:05:53Z")

</div>

That isn’t a topic lock, that is a setting for preventing a user to edit their post.

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [2017年六月5日 12:11 UTC](https://meta.discourse.org/t/where-do-i-change-the-10-day-topic-lock-period/63947/5 "2017-06-05T12:11:00Z")

</div>

Yes, seeing nothing else related to 10 days, I thought it might be related, but I just dug more into the code and found no evidence of this.

---

<div class="post-metadata">

**Author:** ![ghenne](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ghenne/32/70801_2.png) [@ghenne](https://meta.discourse.org/u/ghenne)\
**Post date:** [2017年六月5日 13:41 UTC](https://meta.discourse.org/t/where-do-i-change-the-10-day-topic-lock-period/63947/6 "2017-06-05T13:41:28Z")

</div>

That’s it - Edit Category - Settings - Auto-close topic time. It’s in hours. My setting was 240, which works out to 10 days.

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2024年六月8日 12:44 UTC](https://meta.discourse.org/t/where-do-i-change-the-10-day-topic-lock-period/63947/7 "2024-06-08T12:44:42Z")

</div>

此主题已在 2560 天后自动关闭。不再允许回复。
