There was an error while loading. Please reload this page.
1 parent f5c51dc commit ed3adc2Copy full SHA for ed3adc2
pymongo/mongo_replica_set_client.py
@@ -329,7 +329,7 @@ def schedule_refresh(self):
329
"""Override Monitor's schedule_refresh method
330
raise exception as warning if thread is dead
331
"""
332
- if not self.is_alive():
+ if not self.isAlive():
333
raise Exception("Monitor thread died unexpectedly, used with fork?")
334
super(MonitorThread, self).schedule_refresh()
335
0 commit comments