We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a4218f commit 4d4a26cCopy full SHA for 4d4a26c
pymongo/asynchronous/topology.py
@@ -354,7 +354,7 @@ async def _select_servers_loop(
354
operationId=operation_id,
355
topologyDescription=self.description,
356
clientId=self.description._topology_settings._topology_id,
357
- remainingTimeMS=int(end_time - time.monotonic()),
+ remainingTimeMS=int(1000 * (end_time - time.monotonic())),
358
)
359
logged_waiting = True
360
pymongo/synchronous/topology.py
@@ -354,7 +354,7 @@ def _select_servers_loop(
0 commit comments