add some output when the db follower is setup
This commit is contained in:
parent
a949b58d98
commit
cd7cce54b5
|
@ -145,6 +145,8 @@ module Travis::Api
|
|||
return unless Travis.config.use_database_follower?
|
||||
|
||||
if Travis.env == 'production' || Travis.env == 'staging'
|
||||
puts "Setting up the DB follower as a read slave"
|
||||
|
||||
# Octopus checks for Rails.env, just hardcode enabled?
|
||||
Octopus.instance_eval do
|
||||
def enabled?
|
||||
|
|
Loading…
Reference in New Issue
Block a user