* fix typo in JamTrackCleaner
This commit is contained in:
parent
032d30c3f3
commit
1733c8689d
|
|
@ -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|
|
||||
|
|
|
|||
Loading…
Reference in New Issue