PYTHON-5270 Server selection should log remainingTimeMS as milliseconds (#2263)

This commit is contained in:
Shane Harvey 2025-04-07 11:34:01 -07:00 committed by GitHub
parent 7a4218f0ad
commit 4d4a26cbbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -354,7 +354,7 @@ class Topology:
operationId=operation_id,
topologyDescription=self.description,
clientId=self.description._topology_settings._topology_id,
remainingTimeMS=int(end_time - time.monotonic()),
remainingTimeMS=int(1000 * (end_time - time.monotonic())),
)
logged_waiting = True

View File

@ -354,7 +354,7 @@ class Topology:
operationId=operation_id,
topologyDescription=self.description,
clientId=self.description._topology_settings._topology_id,
remainingTimeMS=int(end_time - time.monotonic()),
remainingTimeMS=int(1000 * (end_time - time.monotonic())),
)
logged_waiting = True