class WebAdminApp

Public Instance Methods

rehash_daemon() click to toggle source
# File lib/splash/webadmin/main.rb, line 25
def rehash_daemon
  status = get_processes({ :pattern => get_config.daemon_process_name}).empty?
  if status == false then
    transport = get_default_client
    unless transport.class == Hash  and transport.include? :case then
      transport.publish queue: "splash.#{Socket.gethostname}.input",
                        message: { :verb => :reset,
                          :return_to => :ignore,
                          :queue => "splash.#{Socket.gethostname}.input" }.to_yaml
    end
  end
end