Merge pull request #23731 from open-craft/alanoe/move_celery_check_to_high_priority_queue_upstream
Move Celery check task to the high priority queue
This commit is contained in:
@@ -75,6 +75,7 @@ from lms.envs.common import (
|
||||
HEARTBEAT_CHECKS,
|
||||
HEARTBEAT_EXTENDED_CHECKS,
|
||||
HEARTBEAT_CELERY_TIMEOUT,
|
||||
HEARTBEAT_CELERY_ROUTING_KEY,
|
||||
|
||||
# Default site to use if no site exists matching request headers
|
||||
SITE_ID,
|
||||
|
||||
@@ -294,6 +294,9 @@ STUDIO_SHORT_NAME = ENV_TOKENS.get('STUDIO_SHORT_NAME') or STUDIO_SHORT_NAME
|
||||
if "TRACKING_IGNORE_URL_PATTERNS" in ENV_TOKENS:
|
||||
TRACKING_IGNORE_URL_PATTERNS = ENV_TOKENS.get("TRACKING_IGNORE_URL_PATTERNS")
|
||||
|
||||
# Heartbeat
|
||||
HEARTBEAT_CELERY_ROUTING_KEY = ENV_TOKENS.get('HEARTBEAT_CELERY_ROUTING_KEY', HEARTBEAT_CELERY_ROUTING_KEY)
|
||||
|
||||
LOGIN_REDIRECT_WHITELIST = [reverse_lazy('home')]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user