Shalinda Adikari wrote:
Hi Team,

I’m working on svn mirroring capability and I have following issue when it is used.

Once *svnsync* is configured It takes longer time than normal commit. Simply if we can commit a file within 2s without svnsync mirroring , now it takes nearly 6s. Therefore, I need to reduce the time gap by executing svnsync command parallel. According to the svn help files we are normally to executing svnsync using the post-commit hook. However, if we can run svnsync as a background process without effecting to normal commit then user would not see any time lag.

In your post-commit script, you should start the commands without waiting for their completion. Additionally, you should redirect the outputs of the command, otherwise the script will also wait for the commands to finish.

You can do this as follows:

  command-to-run >/dev/null 2>&1 &

HTH
Didier


I hope you can help me to find a solution for this issue.

Thanks,

Shalinda

---------------------------------------------------------------------------------------------

This message, including any attachments, contains confidential information 
intended for a specific individual and purpose, and is intended for the 
addressee only. Any unauthorized disclosure, use, dissemination, copying, or 
distribution of this message or any of its attachments or the information 
contained in this e-mail, or the taking of any action based on it, is strictly 
prohibited. If you are not the intended recipient, please notify the sender 
immediately by return e-mail and delete this message.

---------------------------------------------------------------------------------------------



Reply via email to