diff --git a/app/workers/repository_import_worker.rb b/app/workers/repository_import_worker.rb
index e66df8c4db17ade0ce2d8f09882847d59353ee8e..43ef54631a9ec75dc01a8373b71e10f113d68463 100644
--- a/app/workers/repository_import_worker.rb
+++ b/app/workers/repository_import_worker.rb
@@ -14,8 +14,9 @@ class RepositoryImportWorker
       project.import_finish
       project.save
       project.satellite.create unless project.satellite.exists?
+      project.update_repository_size
     else
       project.import_fail
     end
   end
-end
+end
\ No newline at end of file