Skip to content

Commit

Permalink
Remove code that is left over during the extraction from Discourse.
Browse files Browse the repository at this point in the history
  • Loading branch information
tgxworld committed Jan 18, 2019
1 parent 1eac7f4 commit f47902b
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -29,10 +29,6 @@

if Sidekiq.server? && defined?(Rails)
Rails.application.config.after_initialize do
scheduler_hostname = ENV["UNICORN_SCHEDULER_HOSTNAME"]

if !scheduler_hostname || scheduler_hostname.split(',').include?(`hostname`.strip)
MiniScheduler.start
end
MiniScheduler.start
end
end

0 comments on commit f47902b

Please sign in to comment.