lib/ServState/services_manager.rb in ServState-0.1.0 vs lib/ServState/services_manager.rb in ServState-0.1.1
- old
+ new
@@ -13,10 +13,10 @@
average_up = @usage.network_speed.map { |key, n| n[1] }.inject(:+)
LogManager.update({ cpu: @usage.cpu_stat,
ram: @usage.ram_usage[:ram_per],
down: average_down,
up: average_up })
- GC.start(full_mark: true, immediate_sweep: true)
+ GC.start
sleep(5)
end
end
end
\ No newline at end of file