Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Change default suspension length #2022
Do you want to request a feature or report a bug?
Have variable or setting that allows the default suspension length to be changed. Currently there doesn't appear to be a way to change this, since it is hard coded here:
Version and environment
Hey @lriggle-strib, we don't have plans to make suspension time configurable.
When we built out the suspend user feature, we talked extensively to moderators to decide on some common lengths of time for a "time out" and that's why we chose the options of 1 hour, 3 hours, 24 hours, and 7 days.
This was also something in which we didn't want to add mental load to the moderators - "how much time do I input if I can give them any amount of time?" - so we opted for a few time periods they can select.
Time outs beyond 7 days seemed to get into "why not ban them then?" territory, hence not making it any longer.