add ttl to lock

This commit is contained in:
2025-12-23 20:10:21 -03:00
parent dc581fc80c
commit f3dce9a4e9

View File

@@ -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)',