You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Bill Janssen <ja...@parc.com> on 2006/03/13 22:24:00 UTC
Re: Setting the COMMIT lock timeout.
Daniel Naber ponders:
> Seems these have been forgotten. They can easily be added, but I still
> wonder what the use case is to set these values?
The default value isn't magic. The appropriate value is
context-specific. I've got some people using Lucene on machines with
slow disks, and we need to be able to increase the WRITE_LOCK_TIMEOUT
to prevent entirely random lossage.
Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Setting the COMMIT lock timeout.
Posted by Daniel Naber <lu...@danielnaber.de>.
On Montag 13 März 2006 22:24, Bill Janssen wrote:
> The default value isn't magic. The appropriate value is
> context-specific. I've got some people using Lucene on machines with
> slow disks, and we need to be able to increase the WRITE_LOCK_TIMEOUT
> to prevent entirely random lossage.
Here's a patch (I hope it gets through). Let me know if it's okay, I will
commit it then.
Regards
Daniel
--
http://www.danielnaber.de