Method: ContentServer::FileStreamer#run

Defined in:
lib/content_server/file_streamer.rb

#runObject



79
80
81
82
83
84
85
86
87
# File 'lib/content_server/file_streamer.rb', line 79

def run
  return Thread.new do
    loop {
      stream_pop = @stream_queue.pop
      $process_vars.set('File Streamer queue', @stream_queue.size)
      checksum = handle(stream_pop)
    }
  end
end