defer gc for half as long to prevent travis dying

This commit is contained in:
Maxwell Salzberg 2012-04-05 12:08:15 -07:00
parent a36d5558db
commit f65a3d760e

View file

@ -2,7 +2,7 @@
# https://makandracards.com/makandra/950-speed-up-rspec-by-deferring-garbage-collection
class DeferredGarbageCollection
DEFERRED_GC_THRESHOLD = (ENV['DEFER_GC'] || 10.0).to_f
DEFERRED_GC_THRESHOLD = (ENV['DEFER_GC'] || 5.0).to_f
@@last_gc_run = Time.now