lib/remnant/discover.rb in remnant-0.2.0 vs lib/remnant/discover.rb in remnant-0.2.1

- old
+ new

@@ -22,10 +22,10 @@ yield else result = nil Remnant::Discover.running << key begin - Remnant::Discover.results[key] += Benchmark.ms { result = yield } + Remnant::Discover.results[key] += Benchmark.ms { result = yield }.to_i rescue raise ensure Remnant::Discover.running.delete(key) end