huginn/bin/twitter_stream.rb
Dominik Sander 991777ca29 Background worker load Dotenv if APP_SECRET_TOKEN is not set
Unified background worker initialization into pre_runner_boot

Set Rails.configuration.cache_classes = true for background workers
2015-08-23 16:58:44 +02:00

9 lines
No EOL
369 B
Ruby
Executable file

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