We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcfc64a commit 037afe6Copy full SHA for 037afe6
pymongo/asynchronous/monitor.py
@@ -250,7 +250,7 @@ async def _check_server(self) -> ServerDescription:
250
except (OperationFailure, NotPrimaryError) as exc:
251
# Update max cluster time even when hello fails.
252
details = cast(Mapping[str, Any], exc.details)
253
- self._topology.receive_cluster_time(details.get("$clusterTime"))
+ await self._topology.receive_cluster_time(details.get("$clusterTime"))
254
raise
255
except ReferenceError:
256
0 commit comments