lib/octoshark/connection_manager.rb in octoshark-0.1.1 vs lib/octoshark/connection_manager.rb in octoshark-0.1.2
- old
+ new
@@ -64,10 +64,10 @@
connection_pool.disconnect!
end
end
def identifier
- @identifier ||= "octoshark_#{Process.pid}"
+ @identifier ||= "octoshark_#{object_id}"
end
private
def spec_class
if defined?(ActiveRecord::ConnectionAdapters::ConnectionSpecification)