add ttl to lock
This commit is contained in:
@@ -321,6 +321,7 @@ def enroll_later(enrollment: Enrollment, context: Context):
|
||||
'id': pk,
|
||||
'sk': sk,
|
||||
},
|
||||
'ttl': ttl(start_dt=scheduled_for),
|
||||
'created_at': now_,
|
||||
},
|
||||
cond_expr='attribute_not_exists(sk)',
|
||||
|
||||
Reference in New Issue
Block a user