From fb8f2d10984bcfa2585dc272b4c85d285b722792 Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Mon, 28 Nov 2022 23:41:36 -0500 Subject: Hashtags --- core/models/config.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core') diff --git a/core/models/config.py b/core/models/config.py index dab0059..dd7da9f 100644 --- a/core/models/config.py +++ b/core/models/config.py @@ -215,6 +215,9 @@ class Config(models.Model): identity_max_age: int = 24 * 60 * 60 inbox_message_purge_after: int = 24 * 60 * 60 + hashtag_unreviewed_are_public: bool = True + hashtag_stats_max_age: int = 60 * 60 + restricted_usernames: str = "admin\nadmins\nadministrator\nadministrators\nsystem\nroot\nannounce\nannouncement\nannouncements" class UserOptions(pydantic.BaseModel): -- cgit v1.2.3