timeout_thread

in lib/cc/analyzer/container.rb [144:159]


      def timeout_thread
        Thread.new do
          
          
          start_time = Time.now
          loop do
            sleep 10
            duration = Time.now - start_time
            break if duration >= timeout
          end

          @timed_out = true
          stop("timed out")
        end.run
      end