ManageIQ/manageiq — pull request #1050 by jrafanie (2014-11-12 21:27:09+00:00)
Title: Delegate the purging of 6 month+ old metrics to the purger.

Fixes timeouts during server startup.

The existing purging works in rails console using an old migrated database:

VmdbMetric.count => 4696666
require 'workers/schedule_worker'
ScheduleWorker::Jobs.new.metric_purge_all_timer
simulate_queue_worker
VmdbMetric.count => 0

Fixes #1029