use in-memory store for local development
This commit is contained in:
parent
3e0423aae3
commit
af977ca677
|
@ -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' ???
|
||||
|
|
Loading…
Reference in New Issue
Block a user