mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
Unified background worker initialization into pre_runner_boot Set Rails.configuration.cache_classes = true for background workers
9 lines
No EOL
369 B
Ruby
Executable file
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 |