diff --git a/spec/support/deferred_garbage_collection.rb b/spec/support/deferred_garbage_collection.rb index 3c351395bfb131cea0f2e4c6c68bb7878c478779..fa4e67c6ca4add729e69d19dff9c0f0d4fd0a484 100644 --- a/spec/support/deferred_garbage_collection.rb +++ b/spec/support/deferred_garbage_collection.rb @@ -2,7 +2,7 @@ # https://makandracards.com/makandra/950-speed-up-rspec-by-deferring-garbage-collection class DeferredGarbageCollection - DEFERRED_GC_THRESHOLD = (ENV['DEFER_GC'] || 5.0).to_f + DEFERRED_GC_THRESHOLD = (ENV['DEFER_GC'] || 2.0).to_f #used to be 10.0 @@last_gc_run = Time.now