add some output when the db follower is setup

This commit is contained in:
Josh Kalderimis 2013-05-03 10:31:53 +02:00
parent a949b58d98
commit cd7cce54b5

View File

@ -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?