lib/tunemygc/syncer.rb in tunemygc-1.0.68 vs lib/tunemygc/syncer.rb in tunemygc-1.0.69
- old
+ new
@@ -54,10 +54,11 @@
false
end
end
def sync_required?(snapshotter)
- return true if ENV['RUBY_GC_SYNC_ALWAYS']
+ return false if ENV['RUBY_GC_SYNC_NEVER']
+ return true if ENV['RUBY_GC_SYNC_ALWAYS']
TuneMyGc.log "Sync required? #{snapshotter.unit_of_work}"
snapshotter.unit_of_work
end
def environment(snapshotter)
\ No newline at end of file