i don't think this is the best solution
This commit is contained in:
parent
a0a92b23fa
commit
76e55c0125
|
@ -120,9 +120,11 @@ module Travis::Api
|
|||
Travis::Amqp.config = Travis.config.amqp
|
||||
Travis::Database.connect
|
||||
|
||||
Octopus.setup do |config|
|
||||
config.shards = { :follower => Travis.config.database_follower }
|
||||
config.environments = [:production]
|
||||
if Travis.env == 'production'
|
||||
::Octopus.setup do |config|
|
||||
config.shards = { :follower => Travis.config.database_follower }
|
||||
config.environments = [:production]
|
||||
end
|
||||
end
|
||||
|
||||
Travis::Features.start
|
||||
|
|
Loading…
Reference in New Issue
Block a user