twitter_stream.rb 369 B

123456789
  1. #!/usr/bin/env ruby
  2. # This process is used by TwitterStreamAgents to watch the Twitter stream in real time. It periodically checks for
  3. # new or changed TwitterStreamAgents and starts to follow the stream for them. It is typically run by foreman via
  4. # the included Procfile.
  5. require_relative './pre_runner_boot'
  6. AgentRunner.new(only: Agents::TwitterStreamAgent).run