From 879d531bdcf60d2a5cb8cec3084735e9088cabd2 Mon Sep 17 00:00:00 2001 From: Mathias Meyer Date: Wed, 23 Apr 2014 17:31:58 +0200 Subject: [PATCH] Put inspect before rack cache. --- lib/travis/api/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/travis/api/app.rb b/lib/travis/api/app.rb index 882575cb..0344aa5c 100644 --- a/lib/travis/api/app.rb +++ b/lib/travis/api/app.rb @@ -108,6 +108,7 @@ module Travis::Api use ActiveRecord::ConnectionAdapters::ConnectionManagement use ActiveRecord::QueryCache + use ResponseInspect memcache_servers = ENV['MEMCACHIER_SERVERS'] if Travis::Features.feature_active?(:use_rack_cache) && memcache_servers use Rack::Cache, @@ -116,7 +117,6 @@ module Travis::Api entitystore: "memcached://#{memcache_servers}/body-#{Travis::Api::App.deploy_sha}" end - use ResponseInspect use Rack::Deflater use Rack::PostBodyContentTypeParser use Rack::JSONP