# Automatically close solved topics after N hours

**URL:** <https://meta.discourse.org/t/automatically-close-solved-topics-after-n-hours/58383>\
**Category:** Feature\
**Tags:** solved\
**Created:** [2015 年 8 月 6 日午前 5:13 UTC](https://meta.discourse.org/t/automatically-close-solved-topics-after-n-hours/58383 "2015-08-06T05:13:59Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [2017 年 5 月 22 日午前 11:55 UTC](https://meta.discourse.org/t/automatically-close-solved-topics-after-n-hours/58383/8 "2017-05-22T11:55:00Z")

</div>

> [@david](#):
>
> If a post is “un-selected” as the solution, will the timer be cancelled?

I guess it should but it’ll be tricky to implement. We’ll have to track the context in which the timer was created in and cancel timers based on that context. I’ll have a look to see what the possibility is like but I think having the admin cancel the topic timer manually should be sufficient for the first pass.

> [@david](#):
>
> Similarly, once the topic is closed, the answer can still be “unselected” - should this make the topic re-open?

I don’t think it should auto reopen if the answer is un-selected. In fact, I think it is a bug that the answer can be unselected when the topic is already closed.

> [@david](#):
>
> Would it be better to replace “closing (n) hours after solution” with “closing (n) hours after last reply, if a solution has been chosen”?

Ah yes that is a good point, I’ve updated the PR to reflect that. Thank you 👍

---

_[View the full topic](https://meta.discourse.org/t/automatically-close-solved-topics-after-n-hours/58383)._
