src/im_mad/remotes/lib/vcenter_monitor.rb
def timer
        loop do
            conf = @mutex.synchronize { @conf.clone }
            @clusters.monitor(conf)

            sleep BASE_TIMER
        end
    end
#---------------------------------------------------------------------------
#  Periodic timer to trigger monitor updates
#---------------------------------------------------------------------------
Periodic timer to trigger monitor updates
Periodic timer to trigger monitor updates
def timer
        loop do
            conf = @mutex.synchronize { @conf.clone }
            @clusters.monitor(conf)
            sleep BASE_TIMER
        end
    end
def timer loop do conf = @mutex . synchronize { @conf . clone } @clusters . monitor ( conf ) sleep BASE_TIMER end end
Periodic timer to trigger monitor updates
Periodic timer to trigger monitor updates