Re: usher locks db

Richard Levitte <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
In message <[email protected]> on Fri, 25 May 2012 15:59:51 +0000 (UTC), Hendrik Boom <[email protected]> said:

hendrik> Is there a reason for  usher to keep a database locked after the netsync 
hendrik> is finished?
hendrik> 
hendrik> I just sync'd from my laptop to my server using usher; a subsequent 
hendrik> attempt to checkout on the server (witout usher, of course) failed 
hendrik> because the database was locked.

From the source:

// keep local servers around for this many seconds after the last
// client disconnects from them (only accurate to ~10 seconds)
int const server_idle_timeout = 60;


Cheers,
Richard

-- 
Richard Levitte                         [email protected]
                                        http://richard.levitte.org/

"Life is a tremendous celebration - and I'm invited!"
-- from a friend's blog, translated from Swedish
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.