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 8c228ed commit 72d6263Copy full SHA for 72d6263
mongodb_consistent_backup/Replication/Replset.py
@@ -12,9 +12,9 @@ class Replset:
12
def __init__(self, config, db):
13
self.config = config
14
self.db = db
15
- self.max_lag_secs = int(self.config.replication.max_lag_secs)
16
- self.min_priority = int(self.config.replication.min_priority)
17
- self.max_priority = int(self.config.replication.max_priority)
+ self.max_lag_secs = self.config.replication.max_lag_secs
+ self.min_priority = self.config.replication.min_priority
+ self.max_priority = self.config.replication.max_priority
18
self.hidden_only = self.config.replication.hidden_only
19
20
self.state_primary = 1
0 commit comments