lib/instana/agent.rb in instana-1.8.2 vs lib/instana/agent.rb in instana-1.8.3

- old
+ new

@@ -116,10 +116,10 @@ # def setup # The announce timer # We attempt to announce this ruby sensor to the host agent. # In case of failure, we try again in 30 seconds. - @announce_timer = @timers.now_and_every(30) do + @announce_timer = @timers.every(30) do if @state == :unannounced if host_agent_ready? && announce_sensor transition_to(:announced) ::Instana.logger.info "Host agent available. We're in business. (#{@state} pid:#{Process.pid} #{@process[:name]})" end