From 500b212a25b014610d825ad26c3da6adf09e5b9e Mon Sep 17 00:00:00 2001 From: kevgliss Date: Mon, 17 Aug 2015 15:49:16 -0700 Subject: [PATCH] Adding a few default expiration intervals --- lemur/notifications/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemur/notifications/service.py b/lemur/notifications/service.py index 2c29d94d..648c0dc4 100644 --- a/lemur/notifications/service.py +++ b/lemur/notifications/service.py @@ -198,7 +198,7 @@ def create_default_expiration_notifications(name, recipients): }, ] - intervals = current_app.config.get("LEMUR_DEFAULT_EXPIRATION_NOTIFICATION_INTERVALS") + intervals = current_app.config.get("LEMUR_DEFAULT_EXPIRATION_NOTIFICATION_INTERVALS", [30, 15, 2]) notifications = [] for i in intervals: