lib/tamashii/manager/server.rb in tamashii-manager-0.2.0 vs lib/tamashii/manager/server.rb in tamashii-manager-0.2.1

- old
+ new

@@ -12,9 +12,14 @@ def initialize super setup_heartbeat_timer end + def call(env) + setup_heartbeat_timer + super + end + # NOTE: Move into Tamashii::Server maybe better def setup_heartbeat_timer @heartbeat_timer = @event_loop.timer(Config.heartbeat_interval) do @event_loop.post { Client.accepted_clients.values.map(&:beat) } end