* Add updated rack env keys * Tone-down rack-timeout config * Avoid cl_image_path in development * Update README & create env var template * Update Travis notification config * Expand Seed file * Manually-set Rack-timeout config vars * Fix lint * Fix Typo(?) * Add ChatChannel to Seed * Disable fbq when not in production * Tweak after_deploy script * Fix condition * Change fbq clause
7 lines
273 B
Ruby
7 lines
273 B
Ruby
if Rails.env.development? && ENV["RACK_TIMEOUT_WAIT_TIMEOUT"].nil?
|
|
ENV["RACK_TIMEOUT_WAIT_TIMEOUT"] = "100"
|
|
ENV["RACK_TIMEOUT_SERVICE_TIMEOUT"] = "100"
|
|
end
|
|
|
|
Rack::Timeout.unregister_state_change_observer(:logger) if Rails.env.development?
|
|
Rack::Timeout::Logger.disable
|