diff --git a/lib/travis/api/app.rb b/lib/travis/api/app.rb index f35c7a65..11bde1ea 100644 --- a/lib/travis/api/app.rb +++ b/lib/travis/api/app.rb @@ -127,6 +127,8 @@ module Travis::Api failover: true, socket_timeout: 1.5, socket_failure_delay: 0.2) + else + Rack::Attack.cache.store = ActiveSupport::Cache::MemoryStore.new end use Travis::Api::App::Cors # if Travis.env == 'development' ???