Update index.py

pull/559/head
Mr Chen 1 year ago
parent 22a5e147d2
commit cfe063a6e7
  1. 2
      plugins/mongodb/index.py

@ -173,7 +173,7 @@ def runInfo():
import pymongo
port = getConfPort()
client = pymongo.MongoClient(host='127.0.0.1', port=int(port))
client = pymongo.MongoClient(host='127.0.0.1', port=int(port), directConnection=True)
db = client.admin
serverStatus = db.command('serverStatus')

Loading…
Cancel
Save