hit my head against a wall

This commit is contained in:
Josh Kalderimis 2013-05-02 19:16:52 +02:00
parent 1a8b60cc98
commit 6feed54684

View File

@ -121,10 +121,13 @@ module Travis::Api
Travis::Database.connect
if Travis.env == 'production' || Travis.env == 'staging'
puts "is octopus working? #{::Octopus.enabled?}"
ActiveRecord::Base.custom_octopus_connection = false
::Octopus.setup do |config|
config.shards = { :follower => Travis.config.database_follower }
config.environments = ['production', 'staging']
end
end
Travis::Features.start