lib/base_que_job.rb
# After a job executes, remove the lock file if it exists.
After a job executes, remove the lock file if it exists.
After a job executes remove the lock file if it exists .
def clear_single_instance
    return if single_instance_job.nil?
    File.delete(lock_file) if File.exist?(lock_file)
  end
def clear_single_instance return if single_instance_job . nil? File . delete ( lock_file ) if File . exist? ( lock_file ) end
After a job executes, remove the lock file if it exists.
After a job executes remove the lock file if it exists .