Sha256: 08c91f08f01038092712cbeea9ed286ee027ae2c8b2130dee68ddadea8bd8a6d

Contents?: true

Size: 301 Bytes

Versions: 6

Compression:

Stored size: 301 Bytes

Contents

require 'legion/extensions/actors/every'

module Legion::Extensions::Health::Actor
  class Watchdog < Legion::Extensions::Actors::Every
    def runner_function
      'expire'
    end

    def time
      5
    end

    def run_now?
      true
    end

    def use_runner?
      false
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lex-health-0.1.5 lib/legion/extensions/health/actors/watchdog.rb
lex-health-0.1.4 lib/legion/extensions/health/actors/watchdog.rb
lex-health-0.1.3 lib/legion/extensions/health/actors/watchdog.rb
lex-health-0.1.2 lib/legion/extensions/health/actors/watchdog.rb
lex-health-0.1.1 lib/legion/extensions/health/actors/watchdog.rb
lex-health-0.1.0 lib/legion/extensions/health/actors/watchdog.rb