octopus is on in production by default only
This commit is contained in:
parent
76e55c0125
commit
e6f1e22ae8
|
@ -120,11 +120,9 @@ module Travis::Api
|
|||
Travis::Amqp.config = Travis.config.amqp
|
||||
Travis::Database.connect
|
||||
|
||||
if Travis.env == 'production'
|
||||
::Octopus.setup do |config|
|
||||
config.shards = { :follower => Travis.config.database_follower }
|
||||
config.environments = [:production]
|
||||
end
|
||||
# only used in Production by default
|
||||
::Octopus.setup do |config|
|
||||
config.shards = { :follower => Travis.config.database_follower }
|
||||
end
|
||||
|
||||
Travis::Features.start
|
||||
|
|
Loading…
Reference in New Issue
Block a user