boost /h/highrollerclub and exempt it from deletion

pull/173/head
Aevann 2023-08-01 09:54:41 +03:00
parent 022440aa7f
commit 8627bad918
2 changed files with 2 additions and 1 deletions

View File

@ -256,6 +256,7 @@ if SITE_NAME == 'rDrama':
'museumofrdrama',
'space',
'femaledatingstrategy',
'highrollerclub',
}
REDDIT_NOTIFS_SITE.add('marsey')

View File

@ -75,7 +75,7 @@ def _sub_inactive_purge_task():
.filter(Post.sub != None, Post.created_utc > one_week_ago,
Post.private == False, Post.is_banned == False,
Post.deleted_utc == 0).all()]
active_holes.extend(['changelog','countryclub','museumofrdrama']) # holes immune from deletion
active_holes.extend(['changelog','countryclub','museumofrdrama','highrollerclub']) # holes immune from deletion
dead_holes = g.db.query(Sub).filter(Sub.name.notin_(active_holes)).all()
names = [x.name for x in dead_holes]