diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-10 18:22:21 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-24 12:16:42 -0300 |
commit | 3c09000e18dcbf6a74ed1f749db3184e309cf081 (patch) | |
tree | a5746eb08a98574dd7396f863c1b6edc18b63261 /app/models/project.rb | |
parent | d65122823829bb449375cbb8d65c5f60a09729b7 (diff) | |
download | gitlab-ce-3c09000e18dcbf6a74ed1f749db3184e309cf081.tar.gz |
Does not halt the GitHub import process when an error occurs
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 1855760e694..8cf093be4c3 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -471,8 +471,6 @@ class Project < ActiveRecord::Base end def reset_cache_and_import_attrs - update(import_error: nil) - ProjectCacheWorker.perform_async(self.id) self.import_data.destroy if self.import_data |