Skip to content

Commit

Permalink
Merge pull request diaspora#3240 from pubis/update-federation-logger
Browse files Browse the repository at this point in the history
Update federation logger
  • Loading branch information
maxwell committed May 8, 2012
2 parents d444a1d + 324663e commit 3a6f32e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions config/application.yml.example
Expand Up @@ -251,10 +251,10 @@ test:

integration1:
<<: *defaults
pod_url: "http://localhost:45789/"
pod_url: "http://localhost:3001/"
serve_static_assets: true

integration2:
<<: *defaults
pod_url: "http://localhost:34658/"
pod_url: "http://localhost:3002/"
serve_static_assets: true
1 change: 0 additions & 1 deletion config/environments/integration2.rb
Expand Up @@ -15,7 +15,6 @@

# Show full error reports and disable caching
config.consider_all_requests_local = true
config.action_view.debug_rjs = true
config.action_controller.perform_caching = false

# Don't care if the mailer can't send
Expand Down
4 changes: 2 additions & 2 deletions config/initializers/resque.rb
Expand Up @@ -6,10 +6,10 @@
if redis_to_go = ENV["REDISTOGO_URL"]
uri = URI.parse(redis_to_go)
Resque.redis = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password)
elsif AppConfig[:redis_url]
Resque.redis = Redis.new(:host => AppConfig[:redis_url], :port => 6379)
elsif ENV['RAILS_ENV']== 'integration2'
Resque.redis = Redis.new(:host => 'localhost', :port => 6380)
elsif AppConfig[:redis_url]
Resque.redis = Redis.new(:host => AppConfig[:redis_url], :port => 6379)
end
end

Expand Down
4 changes: 2 additions & 2 deletions redis-integration1.conf
Expand Up @@ -94,7 +94,7 @@ save 60 10000
rdbcompression yes

# The filename where to dump the DB
dbfilename dump.rdb
dbfilename dump_integration1.rdb

# The working directory.
#
Expand All @@ -104,7 +104,7 @@ dbfilename dump.rdb
# Also the Append Only File will be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
dir /usr/local/var/db/redis/
dir tmp/

################################# REPLICATION #################################

Expand Down
4 changes: 2 additions & 2 deletions redis-integration2.conf
Expand Up @@ -94,7 +94,7 @@ save 60 10000
rdbcompression yes

# The filename where to dump the DB
dbfilename dump.rdb
dbfilename dump_integration2.rdb

# The working directory.
#
Expand All @@ -104,7 +104,7 @@ dbfilename dump.rdb
# Also the Append Only File will be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
dir /usr/local/var/db/redis/
dir tmp/

################################# REPLICATION #################################

Expand Down

0 comments on commit 3a6f32e

Please sign in to comment.