Skip to content

Commit e9b198e

Browse files
authored
Update common settings for take USE_ASYNC_FOR_EMAIL from environment (#634)
The default value is kept to `False` to ensure backward compatibility functionally.
1 parent 9198b96 commit e9b198e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

settings/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245

246246
QR_CODES_DIR = ROOT_DIR + '/qr_files'
247247

248-
USE_ASYNC_FOR_EMAIL = False
248+
USE_ASYNC_FOR_EMAIL = os.environ.get('USE_ASYNC_FOR_EMAIL', False)
249249

250250
USER_SPAM_THRESHOLD = 2
251251

0 commit comments

Comments
 (0)