问题
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?
回答1:
Your Subversion client has a timeout value as well. Look for a property called "http-timeout" in the config file named "servers".
来源:https://stackoverflow.com/questions/33613502/svnsync-timeout-after-10-minutes