GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit 85a624fb authored by Rémy Coutable's avatar Rémy Coutable Committed by GitLab Release Tools Bot

Merge branch 'sh-revert-full-gc-after-import' into 'master'

Don't run full gc in AfterImportService

Closes gitlab-ee#11556

See merge request gitlab-org/gitlab-ce!28239

(cherry picked from commit 4c16ce11)

36b1a2d7 Don't run full gc in AfterImportService
parent 5040b725
......@@ -9,7 +9,7 @@ def initialize(project)
def execute, :gc).execute do do
rescue Projects::HousekeepingService::LeaseTaken => e
......@@ -13,7 +13,7 @@
describe '#execute' do
before do
.to receive(:new).with(project, :gc).and_return(housekeeping_service)
.to receive(:new).with(project).and_return(housekeeping_service)
.to receive(:execute).and_yield
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment