Skip to content

Commit f76ef9c

Browse files
bsboddenCopilot
andauthored
Update langgraph/checkpoint/redis/shallow.py
Co-authored-by: Copilot <[email protected]>
1 parent 72b596e commit f76ef9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

langgraph/checkpoint/redis/shallow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def put(
167167
checkpoint_ts = ulid_obj.timestamp # milliseconds since epoch
168168
except Exception:
169169
# If not a valid ULID, use current time
170-
checkpoint_ts = time.time() * 1000
170+
checkpoint_ts = time.time() * MILLISECONDS_PER_SECOND
171171

172172
# Parse metadata from string to dict to avoid double serialization
173173
metadata_str = self._dump_metadata(metadata)

0 commit comments

Comments
 (0)