mirror of
https://github.com/krislamo/vagrant-easyredmine
synced 2026-06-17 07:51:17 +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:
@@ -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
|
||||
Reference in New Issue
Block a user