lib/tunemygc/syncer.rb in tunemygc-1.0.32 vs lib/tunemygc/syncer.rb in tunemygc-1.0.33
- old
+ new
@@ -34,10 +34,10 @@
return true if ENV['RUBY_GC_SYNC_ALWAYS']
snapshotter.unit_of_work
end
def environment(snapshotter)
- ENVIRONMENT.dup.concat([snapshotter.stat_keys, TuneMyGc.spy.underscore, Socket.gethostname, Process.ppid, Process.pid])
+ ENVIRONMENT.dup.concat([snapshotter.stat_keys, TuneMyGc.spy_id, Socket.gethostname, Process.ppid, Process.pid])
end
private
def timeout(&block)
Timeout.timeout(NETWORK_TIMEOUT + 1){ block.call }
\ No newline at end of file