lib/sensu/server/process.rb
# Relinquish all Sensu server tasks, if any.
Relinquish all Sensu server tasks, if any.
Relinquish all Sensu server tasks if any .
def relinquish_tasks
        unless @tasks.empty?
          @tasks.dup.each do |task|
            relinquish_task(task)
          end
        else
          @logger.debug("not currently responsible for a server task")
        end
      end
def relinquish_tasks unless @tasks . empty? @tasks . dup . each do | task | relinquish_task ( task ) end else @logger . debug ( "not currently responsible for a server task" ) end end
Relinquish all Sensu server tasks, if any.
Relinquish all Sensu server tasks if any .