diff --git a/lib/travis/api/app.rb b/lib/travis/api/app.rb index ea2eb260..6da5cfd0 100644 --- a/lib/travis/api/app.rb +++ b/lib/travis/api/app.rb @@ -56,6 +56,7 @@ module Travis::Api use Hubble::Rescuer, env: Travis.env, codename: ENV['CODENAME'] if Endpoint.production? && ENV['HUBBLE_ENDPOINT'] use Rack::Protection::PathTraversal use Rack::SSL if Endpoint.production? + use ActiveRecord::QueryCache if memcache_servers = ENV['MEMCACHE_SERVERS'] use Rack::Cache,