Discourse auto-close settings

It looks like new topics both here and on the users forum are set to auto-close 1 month after the last reply. I'm not sure if this is a new Discourse default, or something that a staff member changed here recently.

I like auto-close, but 1 month seems a bit too short, especially because people on this forum are used to topics that never close. I suggest changing this to 6 months. Any thoughts?

I did it :wave: :slight_smile: I’m totally open to changing the length!

1 Like

I feel like useful replies become less likely after 2 or 3 months, and by 6 months there are more spam/off-topic replies than useful ones.

Maybe we can try a 3 month timer?

Updated everything on here and users to 2160 hours (90 days)… the annoying thing is this setting is per-category, not site-wide :stuck_out_tongue: I’m happy to adjust it again though!

The posts still say one month, I feel like it took a while for that to show up so maybe it’ll take a while to update too? :woman_shrugging:

1 Like

The timer is set when a new topic is created. There’s no way to change it for existing posts except manually, one at a time.

1 Like

:cry::cold_sweat:

I know you’d probably have to file a support ticket, but we could ask Discourse to run code in the Rails console?

# I have tested this code against a debug instance of Discourse.
# A backup should still be taken first.
Topic.where(closed: false).find_each do |topic| 
  topic.set_or_create_timer(TopicTimer.types[:close], 2160, based_on_last_post: true)
end

CC @erlend_sh

1 Like

This should be done now.

3 Likes

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