# File lib/genome-lib/threads.rb, line 68 def run @thread = Thread.new do loop do log("Running #{@name} thread") begin @runner.run rescue log($!) log($!.message) end log("Trying #{@name} thread again in #{@freq} seconds") sleep @freq end end end