mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-29 16:47:28 +01:00
need a bigger oplog size
This commit is contained in:
parent
65abee1492
commit
b661f15b4d
@ -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", "128"]
|
||||
argv += ["--master", "--oplogSize", "256"]
|
||||
if self.slave:
|
||||
argv += ['--slave', '--source', 'localhost:' + str(srcport)]
|
||||
print "running " + " ".join(argv)
|
||||
|
Loading…
Reference in New Issue
Block a user