Skip to content

Commit 78c8a45

Browse files
committed
PYTHON-1119 - Monitor sends metadata when reconnecting.
1 parent 537b9d5 commit 78c8a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def _check_with_retry(self):
139139
# Try a second and final time. If it fails return original error.
140140
start = _time()
141141
try:
142-
return self._check_once()
142+
return self._check_once(metadata=self._pool.opts.metadata)
143143
except ReferenceError:
144144
raise
145145
except Exception as error:

0 commit comments

Comments
 (0)