Skip to content

Commit

Permalink
Changin lease default to 2s
Browse files Browse the repository at this point in the history
  • Loading branch information
tdeconin committed Apr 24, 2012
1 parent 053d912 commit b261696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cfg/arakoon.ini
@@ -1,7 +1,6 @@
[global]
#comma separated list of node names that are part of the cluster
#cluster = arakoon_0,arakoon_1,arakoon_2
cluster = arakoon_0
cluster = arakoon_0,arakoon_1,arakoon_2
#optional:
#master = arakoon_0
# modifier for master, if preferred, the master is no longer forced
Expand Down
2 changes: 1 addition & 1 deletion src/node/node_cfg.ml
Expand Up @@ -23,7 +23,7 @@ If not, see <http://www.gnu.org/licenses/>.

let config_file = ref "cfg/arakoon.ini"

let default_lease_period = 10
let default_lease_period = 2
open Master_type
open Client_cfg
open Log_extra
Expand Down

0 comments on commit b261696

Please sign in to comment.