Commit 79820ea9d4ff55220974a1e30fed0fa4468c03e1

Authored by Rodrigo Souto
1 parent e0f62835

Remove peridicity on log_memory_consumption job

Showing 1 changed file with 0 additions and 2 deletions   Show diff stats
lib/log_memory_consumption_job.rb
1 1 class LogMemoryConsumptionJob < Struct.new(:last_stat)
2 2 # Number of entries do display
3 3 N = 20
4   - # In seconds
5   - PERIOD = 10
6 4  
7 5 def perform
8 6 logpath = File.join(Rails.root, 'log', "#{ENV['RAILS_ENV']}_memory_consumption.log")
... ...