diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-02-14 16:20:56 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-02-14 16:21:36 -0500 |
commit | 4c9f3922d364c3bcb37455fcbd7812f39d1d8204 (patch) | |
tree | 919a4841dec052d33ca7a7c16aba12d92d28e8f6 | |
parent | ac86cdec4778b37f2b58e78c3f759da75c737df0 (diff) | |
download | mongo-4c9f3922d364c3bcb37455fcbd7812f39d1d8204.tar.gz |
increase lock takeover time to 15 minutes (from 10)
-rw-r--r-- | client/distlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/distlock.h b/client/distlock.h index 491de4812bf..753a241cbb9 100644 --- a/client/distlock.h +++ b/client/distlock.h @@ -44,7 +44,7 @@ namespace mongo { * @param name identifier for the lock * @param takeoverMinutes how long can the log go "unpinged" before a new attempt to lock steals it (in minutes) */ - DistributedLock( const ConnectionString& conn , const string& name , unsigned takeoverMinutes = 10 ); + DistributedLock( const ConnectionString& conn , const string& name , unsigned takeoverMinutes = 15 ); /** * Attempts to aquire 'this' lock, checking if it could or should be stolen from the previous holder. Please |