1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2025-09-09 14:09:29 +00:00

add customized eupathdb:fetch_changesets task that includes a Timeout; this is to address accumulation of svn processes (and system memory depletion) from redmine:fetch_changesets when server does not respond

This commit is contained in:
Mark Heiges
2016-11-02 11:23:54 -04:00
parent ce1e3a9a99
commit 879da138f1
3 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
namespace :eupathdb do
desc 'Fetch changesets from the repositories. Same as redmine:fetch_changesets but with added timeout'
task :fetch_changesets => :environment do
Timeout.timeout(120) do
Repository.fetch_changesets
end
end
end