Update index.py

This commit is contained in:
Mr Chen
2024-05-06 02:13:59 +08:00
parent a779caea41
commit 41c7b0fb70
+2 -2
View File
@@ -1135,8 +1135,8 @@ def replClose():
# del repl_info['set']
# print(repl_info)
rsStatus = db.command('replSetGetConfig',config,force=True)
rstatus = db.command('replSetReconfig',config,force=True)
print(rstatus)
# db.command('replSetStepDown',replSetStepDown=0,secondaryCatchUpPeriodSecs=0,force=True)
except Exception as e:
# info = str(e).split(',')