activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: 10 seconds wait time for kahadb lock
Date Tue, 20 Mar 2012 11:25:28 GMT
If you're trying to use KahaDB than

<kahaDB databaseLockedWaitDelay="xxx" ... />

should work for you

Regards
-- 
Dejan Bosanac
Senior Software Engineer | FuseSource Corp.
dejanb@fusesource.com | fusesource.com
skype: dejan.bosanac | twitter: @dejanb
blog: http://www.nighttale.net
ActiveMQ in Action: http://www.manning.com/snyder/



On Tue, Mar 20, 2012 at 12:19 PM, Pvbouwel <peter.vanbouwel@contribute.be>wrote:

> Is there a reason why it is not possible to set the timeout for brokers who
> want to acquire a lock on the kahadb?
>
> When I look into the source code (KahaPersistenceAdapter.java).  I see:
>
>    private static final int STORE_LOCKED_WAIT_DELAY = 10 * 1000;
>
> I wanted to set this wait_delay using a configuration parameter but this
> isn't possible.
>
> Is there a special reason why this is the case?  What will happen if I
> modify the value in code and I recompile?  Will everything still work?
>
> Greetings,
>
> Peter
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/10-seconds-wait-time-for-kahadb-lock-tp4488418p4488418.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message