diff options
Diffstat (limited to 'src/mongo/db/repl/replset_commands.cpp')
-rw-r--r-- | src/mongo/db/repl/replset_commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/replset_commands.cpp b/src/mongo/db/repl/replset_commands.cpp index c91cc42ec2d..342ee8e514b 100644 --- a/src/mongo/db/repl/replset_commands.cpp +++ b/src/mongo/db/repl/replset_commands.cpp @@ -534,8 +534,8 @@ namespace { status = getGlobalReplicationCoordinator()->stepDown( txn, force, - Seconds(secondaryCatchUpPeriodSecs), - Seconds(stepDownForSecs)); + ReplicationCoordinator::Milliseconds(secondaryCatchUpPeriodSecs * 1000), + ReplicationCoordinator::Milliseconds(stepDownForSecs * 1000)); return appendCommandStatus(result, status); } } cmdReplSetStepDown; |