Commit 79820ea9d4ff55220974a1e30fed0fa4468c03e1
1 parent
e0f62835
Exists in
master
and in
29 other branches
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 | class LogMemoryConsumptionJob < Struct.new(:last_stat) | 1 | class LogMemoryConsumptionJob < Struct.new(:last_stat) |
| 2 | # Number of entries do display | 2 | # Number of entries do display |
| 3 | N = 20 | 3 | N = 20 |
| 4 | - # In seconds | ||
| 5 | - PERIOD = 10 | ||
| 6 | 4 | ||
| 7 | def perform | 5 | def perform |
| 8 | logpath = File.join(Rails.root, 'log', "#{ENV['RAILS_ENV']}_memory_consumption.log") | 6 | logpath = File.join(Rails.root, 'log', "#{ENV['RAILS_ENV']}_memory_consumption.log") |