![]() fixes AE-377 * use a basic timeout of 1 second in canvas_rails_switcher.rb * fix configuration of timeouts in dynamic settings (it's just a single timeout, not a separate read and write timeout) * avoid a circular boot problem when consul fails at boot before Canvas::Errors is loaded * actually avoid trying to contact Consul at all when the circuit breaker has tripped * reposition consul fail safes - so that they'll trip the circuit breaker if they have to be used Change-Id: I971beaf0a9982f3f18390b558e71b4b3bc230b16 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/324688 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Jacob Burroughs <jburroughs@instructure.com> QA-Review: Cody Cutrer <cody@instructure.com> Product-Review: Cody Cutrer <cody@instructure.com> |
||
---|---|---|
.. | ||
dynamic_settings | ||
fixtures/config | ||
dynamic_settings_spec.rb | ||
spec_helper.rb |