Skip to content

Commit c8bffa8

Browse files
committed
chore: add environment variable ENABLE_SQS_MESSAGE_GROUP_IDS
1 parent 6182ba4 commit c8bffa8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ class Config:
139139
# URL of redis instance
140140
REDIS_URL = os.getenv("REDIS_URL")
141141
REDIS_ENABLED = False if os.environ.get("REDIS_ENABLED") == "0" else True
142+
143+
ENABLE_SQS_MESSAGE_GROUP_IDS = os.environ.get("ENABLE_SQS_MESSAGE_GROUP_IDS", "1") == "1"
144+
142145
EXPIRE_CACHE_TEN_MINUTES = 600
143146
EXPIRE_CACHE_EIGHT_DAYS = 8 * 24 * 60 * 60
144147

@@ -587,6 +590,7 @@ class Development(Config):
587590
SERVER_NAME = os.getenv("SERVER_NAME")
588591

589592
REDIS_ENABLED = os.getenv("REDIS_ENABLED") == "1"
593+
ENABLE_SQS_MESSAGE_GROUP_IDS = os.environ.get("ENABLE_SQS_MESSAGE_GROUP_IDS", "1") == "1"
590594

591595
S3_BUCKET_CSV_UPLOAD = "development-notifications-csv-upload"
592596
S3_BUCKET_CONTACT_LIST = "development-contact-list"

0 commit comments

Comments
 (0)