We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d1baf5 commit f88e82cCopy full SHA for f88e82c
MongoBackup/Methods/Dumper.py
@@ -74,8 +74,8 @@ def run(self):
74
self.threads_per_dump = 1
75
if self.cpu_count > len(self.secondaries):
76
self.threads_per_dump = int(floor(self.cpu_count / len(self.secondaries)))
77
- if self.threads_per_dump > self.threads_per_dump_max:
78
- self.threads_per_dump = self.threads_per_dump_max
+ if self.threads_per_dump > self.threads_per_dump_max:
+ self.threads_per_dump = self.threads_per_dump_max
79
else:
80
logging.warn("Threading unsupported by mongodump version %s. Use mongodump 3.2.0 or greater to enable per-dump threading." % self.version)
81
0 commit comments