Skip to content

Commit

Permalink
Add a shorter timeout, this should be user-accessible at some point.
Browse files Browse the repository at this point in the history
  • Loading branch information
esigler committed Dec 9, 2014
1 parent 42f5068 commit 7137eb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/lita/handlers/netping.rb
Expand Up @@ -27,7 +27,8 @@ def format(host, result)
end

def ping_target(host)
Net::Ping::External.new(host).ping
p = Net::Ping::External.new(host)
p.ping(host, 1, 1, 1)
end
end

Expand Down

0 comments on commit 7137eb6

Please sign in to comment.