Perfdata.measure: copy and paste error removed.

master
Denis Knauf 2013-04-10 15:29:42 +02:00
parent 541cb69a92
commit eff34860cf
1 changed files with 1 additions and 2 deletions

View File

@ -12,9 +12,8 @@ module NSCA
end
def measure &block
timeout ||= 0
exception = Class.new Timeout::Error
timeout = pd.max
timeout = max
m = realtime do
begin
timeout timeout, exception, &block