Perfdata.measure: copy and paste error removed.
This commit is contained in:
parent
541cb69a92
commit
eff34860cf
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue