diff --git a/app/config.py b/app/config.py index 0481b5af82..58e1f727d2 100644 --- a/app/config.py +++ b/app/config.py @@ -585,7 +585,7 @@ class Config(object): # Timestamp in epoch milliseconds to seed the bounce rate. We will seed data for (24, the below config) included. FF_BOUNCE_RATE_SEED_EPOCH_MS = os.getenv("FF_BOUNCE_RATE_SEED_EPOCH_MS", False) # Feature flag to enable custom retry policies such as lowering retry period for certain priority lanes. - FF_CELERY_CUSTOM_TASK_PARAMS = env.bool("FF_CELERY_CUSTOM_TASK_PARAMS", False) + FF_CELERY_CUSTOM_TASK_PARAMS = env.bool("FF_CELERY_CUSTOM_TASK_PARAMS", True) FF_CLOUDWATCH_METRICS_ENABLED = env.bool("FF_CLOUDWATCH_METRICS_ENABLED", False) # Feature flags for email_daily_limit FF_EMAIL_DAILY_LIMIT = env.bool("FF_EMAIL_DAILY_LIMIT", False) @@ -655,8 +655,6 @@ class Development(Config): API_HOST_NAME = "http://localhost:6011" API_RATE_LIMIT_ENABLED = True - FF_CELERY_CUSTOM_TASK_PARAMS = True - class Test(Development): NOTIFY_EMAIL_DOMAIN = os.getenv("NOTIFY_EMAIL_DOMAIN", "notification.canada.ca") @@ -691,7 +689,6 @@ class Test(Development): CRM_GITHUB_PERSONAL_ACCESS_TOKEN = "test-token" CRM_ORG_LIST_URL = "https://test-url.com" - FF_CELERY_CUSTOM_TASK_PARAMS = True FF_EMAIL_DAILY_LIMIT = False @@ -710,6 +707,7 @@ class Production(Config): API_RATE_LIMIT_ENABLED = True CHECK_PROXY_HEADER = False CRONITOR_ENABLED = False + FF_CELERY_CUSTOM_TASK_PARAMS = False class Staging(Production):