mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-22 03:32:18 -05:00
14 lines
274 B
Ruby
14 lines
274 B
Ruby
require "thor"
|
|
|
|
module Cli
|
|
class JobsCommand < Thor
|
|
namespace :jobs
|
|
DESCRIPTION = "manage background jobs"
|
|
|
|
desc "unlock", "remove all stale locks that might be preventing jobs from running"
|
|
def unlock
|
|
ActiveJob::Uniqueness.unlock!
|
|
end
|
|
end
|
|
end
|