Sha256: 35c373017005ab0d7c687f9e7b0a652280d15481e72fdaf4658d4c5386b8d46e
Contents?: true
Size: 342 Bytes
Versions: 2
Compression:
Stored size: 342 Bytes
Contents
module Heartcheck module Executors class Base def dispatch(checkers) checkers.map do |checker| started = Time.now checker.check.tap do |checked| checked[:time] = ((Time.now - started) * 1_000.0) Logger.info Oj.dump(checked) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
heartcheck-1.0.7 | lib/heartcheck/executors/base.rb |
heartcheck-1.0.6 | lib/heartcheck/executors/base.rb |