Sha256: 6fdd4d4cbc309bed090ee6dcb6d68c1b4544f07cbc3aa6916dec851014c86874
Contents?: true
Size: 321 Bytes
Versions: 1
Compression:
Stored size: 321 Bytes
Contents
require 'celluloid' module Blinkenstein class Runner include Celluloid include Logging def initialize refresh_all every(15) do refresh_all end end def refresh_all logger.debug "Refreshing all monitors" Monitor.repository.each(&:refresh) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blinkenstein-0.2.0 | lib/blinkenstein/runner.rb |