Commit 3062a61c authored by Dan Notestein's avatar Dan Notestein
Browse files

Use nanosecond-based requestid for convert operations

This fixes flaky tests where multiple collateralized_convert or convert
operations created within the same second would get the same requestid
(based on seconds since epoch), causing uniqueness constraint violations.

Using time.time_ns() % (2**32) ensures unique IDs even when operations
are created in quick succession, while still fitting in the uint32_t
requestid field.

🤖 Generated with [Claude Code](https://claude.com/claude-code

)

Co-Authored-By: default avatarClaude <noreply@anthropic.com>
parent 8e2871a4
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment