0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-29 16:47:28 +01:00

increase small oplog to 128 from 100

This commit is contained in:
Eliot Horowitz 2011-01-19 23:17:36 -05:00
parent f964db5b9e
commit cb48ff63f2

View File

@ -145,7 +145,7 @@ class mongod(object):
utils.ensureDir(dir_name)
argv = [mongod_executable, "--port", str(self.port), "--dbpath", dir_name]
if self.kwargs.get('small_oplog'):
argv += ["--master", "--oplogSize", "100"]
argv += ["--master", "--oplogSize", "128"]
if self.slave:
argv += ['--slave', '--source', 'localhost:' + str(srcport)]
print "running " + " ".join(argv)