From 7a86ba4444816fec7f9c62f11be932a0a5b04c0d Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 6 May 2024 15:20:56 +0800 Subject: [PATCH] Update index.py --- plugins/mongodb/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mongodb/index.py b/plugins/mongodb/index.py index c50737018..f9272bb36 100755 --- a/plugins/mongodb/index.py +++ b/plugins/mongodb/index.py @@ -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: