[ 
https://issues.apache.org/jira/browse/OAK-3871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Reschke updated OAK-3871:
--------------------------------
    Attachment: OAK-3871.diff

Minimal patch, not restricting the value (should it?).

Also, there are other constants which are tuned to work with the 120s default. 
Should we derive them? Allow to set them?

> ability to override ClusterNodeInfo#DEFAULT_LEASE_DURATION_MILLIS
> -----------------------------------------------------------------
>
>                 Key: OAK-3871
>                 URL: https://issues.apache.org/jira/browse/OAK-3871
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, documentmk
>            Reporter: Julian Reschke
>             Fix For: 1.4
>
>         Attachments: OAK-3871.diff
>
>
> This constant currently is set to 120s.
> In edge cases, it might be good to override the default (when essentially the 
> only other "fix" would be to turn off the lease check).
> Proposal: introduce a system property allowing to tune the lease time (but 
> restrict allowable values to a "sane" range, such as up to 5min).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to