File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,14 +186,17 @@ def parent_dir(path):
186186NO_ADDON_WAIT_TIME = timedelta (weeks = 8 ) # 2 months for "Link an add-on to your OSF project" email
187187NO_LOGIN_WAIT_TIME = timedelta (weeks = 52 ) # 1 year for "We miss you at OSF" email
188188NO_LOGIN_OSF4M_WAIT_TIME = timedelta (weeks = 52 ) # 1 year for "We miss you at OSF" email to users created from OSF4M
189- NOTIFICATIONS_CLEANUP_AGE = timedelta (weeks = 52 ) # 1 month to clean up old notifications and email tasks
189+ # TODO: this will be changed to 12 weeks (3 month) with ENG-9856
190+ NOTIFICATIONS_CLEANUP_AGE = timedelta (weeks = 52 ) # 1 year to clean up old notifications and email tasks
190191
191192# Configuration for "We miss you at OSF" email (`NotificationTypeEnum.USER_NO_LOGIN`)
192193# Note: 1) we can gradually increase `MAX_DAILY_NO_LOGIN_EMAILS` to 10000, 100000, etc. or set it to `None` after we
193194# have verified that users are not spammed by this email after NR release. 2) If we want to clean up database for those
194195# already sent `USER_NO_LOGIN` emails, we need to adjust the cut-off time to the day we clean the DB.
195196MAX_DAILY_NO_LOGIN_EMAILS = 1000
196- NO_LOGIN_EMAIL_CUTOFF = datetime .datetime (2026 , 1 , 5 )
197+ # Note: set to 26/3/13 which is the date we release to `master` and deploy to test server; prod server has a different
198+ # date, which is configured in the private config, using the date when it is deployed to prod.
199+ NO_LOGIN_EMAIL_CUTOFF = datetime .datetime (2026 , 3 , 13 )
197200
198201# TODO: Override in local.py
199202MAILGUN_API_KEY = None
You can’t perform that action at this time.
0 commit comments