mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-20 08:25:50 +08:00
Update index.py
This commit is contained in:
@@ -1106,7 +1106,7 @@ def replInit():
|
||||
# tt = client.admin.command('add',{"host":"127.0.0.1:27017"})
|
||||
# print(tt)
|
||||
|
||||
# config['version'] = int(now_time_t)
|
||||
config['version'] = int(now_time_t)
|
||||
try:
|
||||
client.admin.command('replSetReconfig',config,force=True)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user