Skip to content

Commit 4b6d0ce

Browse files
Merge pull request #4669 from communitybridge/unicron-make-active-signature-ttl-in-store-shorter
Change expire TTL cla-{stage}-store for active_signature:{uuid} keys
2 parents c7f3c6d + a89a685 commit 4b6d0ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cla-backend/cla/models/dynamo_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3840,8 +3840,8 @@ def exists(self, key):
38403840
return False
38413841

38423842
def get_expire_timestamp(self):
3843-
# helper function to set store item ttl: 7 days
3844-
exp_datetime = datetime.datetime.now() + datetime.timedelta(days=7)
3843+
# helper function to set store item ttl: 45 minutes
3844+
exp_datetime = datetime.datetime.now() + datetime.timedelta(minutes=45)
38453845
return exp_datetime.timestamp()
38463846

38473847

0 commit comments

Comments
 (0)