* fix typo in JamTrackCleaner

This commit is contained in:
Seth Call 2015-09-22 09:42:53 -05:00
parent 032d30c3f3
commit 1733c8689d
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ module JamRuby
# let's make sure jobs don't stay falsely queued for too long. 1 hour seems more than enough
JamTrackRight.where("queued = true AND (NOW() - signing_queued_at > '1 hour'::INTERVAL OR NOW() - updated_at > '1 hour'::INTERVAL)").update_all(queued:false)
JamTrackRightMixdown.unscoped.where("queued = true AND (NOW() - signing_queued_at > '1 hour'::INTERVAL OR NOW() - updated_at > '1 hour'::INTERVAL)").update_all(queued:false)
JamTrackMixdownPackage.unscoped.where("queued = true AND (NOW() - signing_queued_at > '1 hour'::INTERVAL OR NOW() - updated_at > '1 hour'::INTERVAL)").update_all(queued:false)
return
#JamTrackRight.ready_to_clean.each do |jam_track_right|