try two seconds
This commit is contained in:
parent
f65a3d760e
commit
2e86d069b8
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
# https://makandracards.com/makandra/950-speed-up-rspec-by-deferring-garbage-collection
|
# https://makandracards.com/makandra/950-speed-up-rspec-by-deferring-garbage-collection
|
||||||
class DeferredGarbageCollection
|
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
|
@@last_gc_run = Time.now
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue