You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
convert_timedelta_to_milliseconds_int32 internally assumes int32 input would be in seconds #2148
convert_timedelta_to_milliseconds_int32 internally calls into _convert_timedelta with a scaling factor of 1000. This assumes that a float input will always be in seconds. ie if I pass 10 to this method, it returns 10000 as the converted value in millisecond. This makes it not useful for an API method parameter which takes in value as milliseconds and should allow the value to be passed as raw milliseconds along with hightime.timedelta type.
Because of this issue, below API methods would get passed a wrong milliseconds value if the user passes a float value in milliseconds based on the parameter documentation:
I've updated the description to list the driver runtime functions across the repository which could pass a wrong millisecond value to their underlying C function because of this issue.
Activity
marcoskirsch commentedon Dec 9, 2025
Can you clarify which driver runtime function you need this change for?
vnktshr21 commentedon Dec 18, 2025
I've updated the description to list the driver runtime functions across the repository which could pass a wrong millisecond value to their underlying C function because of this issue.