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:
10
roles/easyredmine/files/ebrc_tasks.rake
Normal file
10
roles/easyredmine/files/ebrc_tasks.rake
Normal 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
|
Reference in New Issue
Block a user