lib/mini_profiler/storage/memory_store.rb in rack-mini-profiler-0.1.12.pre vs lib/mini_profiler/storage/memory_store.rb in rack-mini-profiler-0.1.13.pre
- old
+ new
@@ -56,9 +56,8 @@
expire_older_than = ((Time.now.to_f - MiniProfiler::MemoryStore::EXPIRE_TIMER_CACHE) * 1000).to_i
@timer_struct_lock.synchronize {
@timer_struct_cache.delete_if { |k, v| v['Root']['StartMilliseconds'] < expire_older_than }
}
end
-
end
end
end