PYTHON-5270 Server selection should log remainingTimeMS as milliseconds (#2263)
This commit is contained in:
parent
7a4218f0ad
commit
4d4a26cbbe
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user