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