[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-dev] svnClientAdapter takes too long to time out getInfo(SVNUrl)

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-05-01 20:15:58 CEST

On 5/1/07, Shawn Jin <shawnemails@gmail.com> wrote:
> Hello developers,
>
> Thanks for helping me out in previous thread. Now I have another question
> for you. :)
>
> I am invoking AbstractClientAdapter.getInfo(SVNUrl) to test the validity of
> a subversion repository. When the repository is happily running, not
> problem. However if the repository is not responding (such as a non-exist
> repository), it takes very long ( 2 - 3 minutes) to get a time-out message.
> This causes my application hanging. Is it possible to accelarate the
> time-out message? Maybe 10 seconds can be more than enough for a "usable"
> svn repository.
>
> Or there is a workaround?

This does not live inside svnClientAdapter. It would either be
Subversion itself (JavaHL) or SVNKit that needed the timeout. I think
the Subversion default can be set somewhere in the config file, but
this effects all transactions. I think the timeout was bumped up to
resolve a problem where commits would abort prematurely because the
server was busy applying the transaction.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org
Received on Tue May 1 20:16:05 2007

This is an archived mail posted to the Subclipse Dev mailing list.