Ruby redmine svn post-commit hook extremely slow

I use the following post-commit hook for svn:

"path\to\ruby.exe" "path\to\redmine\script\runner" "Repository.fetch_changesets; Rails.logger.flush" -e production

It works correctly, but it takes about 1-2 minutes. I also thought that the first commit takes a lot of time, but sequential commit takes the same amount of time.

Can this behavior be improved?

I know about Ruby's slow behavior on Windows, about 3 times, but in my case it's a lot more.

The configuration is as follows: Windows Vista, redmine 1.1.1, Ruby 1.8.7 with RubyGems 1.8.7, all installed packages and testing are performed on one PC.

+3
source share
1 answer

, script/runner Rails- , , . , 3 == 3 3 .

, , :

cronjob (# 2). , . , .

+3

All Articles