From f720b48d0d27b10af299e407b9d8f65d1169d8ec Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Wed, 2 Oct 2024 09:54:18 -0700 Subject: [PATCH] Bug: Invites expiring immediately --- app/service_invite/rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/service_invite/rest.py b/app/service_invite/rest.py index dd76ad2bd..f6d9627da 100644 --- a/app/service_invite/rest.py +++ b/app/service_invite/rest.py @@ -86,7 +86,7 @@ def _create_service_invite(invited_user, invite_link_host): redis_store.set( f"email-personalisation-{saved_notification.id}", json.dumps(personalisation), - ex=1800, + ex=2*24*60*60, ) send_notification_to_queue(saved_notification, queue=QueueNames.NOTIFY)