Commit 5ba24e5
fix: use expires_at directly for DynamoDB TTL timestamp
The managed_entry.ttl property returns remaining seconds from NOW, not the
original TTL duration. This caused incorrect TTL timestamps when there was
any delay between entry creation and property access. Using expires_at
directly ensures the timestamp is always correct.
Fixes test failures in older dependency versions where timing delays
were more common.
Co-authored-by: William Easton <strawgate@users.noreply.github.com>1 parent eb94c25 commit 5ba24e5
File tree
1 file changed
+2
-2
lines changed- key-value/key-value-aio/src/key_value/aio/stores/dynamodb
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
0 commit comments