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:
parent
f964db5b9e
commit
cb48ff63f2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user