svnsync timeout after 10 minutes

4.6k Views Asked by At

I have two Subversion repositories, a primary one and a secondary one.
I want to setup svnsync to mirror all the commits on the primary repository to the secondary.

But after the set up with svnsync init, when I launch svnsync synchronize to populate the secondary repo with the data already in the primary one, I get a timeout error after 10 minutes:

svnsync synchronize http://secondary-repo --username=xxx --password=xxx
svnsync: E175012: Connection timed out

The commits are quite big, some gigabytes.
I tried to increase the timeout in the apache configuration, but nothing changed.

Is there any other configuration value I can tweak to have the commit complete without timeout?

2

There are 2 best solutions below

0
bta On BEST ANSWER

Your Subversion client has a timeout value as well. Look for a property called "http-timeout" in the config file named "servers".

1
jumping_monkey On

In %appdata%\subversion\servers, there are 2 sections, [groups] and [global]. I configured mine under [global]:

[global]
#Adjust XX (in seconds)
http-timeout = XX

Note: To make the setting effective, just close the TortoiseSVN window(s).

P.S The default timeout is 10mins.