You've already forked hotpocket
BTHLABS-66: Prepping for public release: Take one
This commit is contained in:
@@ -4,6 +4,7 @@ from __future__ import annotations
|
||||
|
||||
import os
|
||||
|
||||
from celery.schedules import crontab
|
||||
from corsheaders.defaults import default_headers
|
||||
|
||||
from .base import * # noqa: F401,F403
|
||||
@@ -46,6 +47,13 @@ SESSION_COOKIE_SECURE = True
|
||||
CRISPY_ALLOWED_TEMPLATE_PACKS = 'bootstrap5'
|
||||
CRISPY_TEMPLATE_PACK = 'bootstrap5'
|
||||
|
||||
CELERY_BEAT_SCHEDULE = {
|
||||
'clean-expired-auth-keys': {
|
||||
'task': 'hotpocket_backend.apps.accounts.tasks.clean_expired_auth_keys',
|
||||
'schedule': crontab(minute='30', hour='3'),
|
||||
},
|
||||
}
|
||||
|
||||
HOTPOCKET_BOT_STRATEGY = 'hotpocket_backend.apps.bot.strategy.basic:BasicStrategy'
|
||||
HOTPOCKET_BOT_BANNED_HOSTNAMES = [
|
||||
# YT returns dummy data when I try to fetch the page and extract
|
||||
|
||||
Reference in New Issue
Block a user