canvas-lms/gems/dynamic_settings/spec
Cody Cutrer 2c344da93a fix consul timeouts
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>
2023-08-11 17:45:40 +00:00
..
dynamic_settings fix consul timeouts 2023-08-11 17:45:40 +00:00
fixtures/config extract dynamic settings to it's own gem 2021-03-01 19:18:01 +00:00
dynamic_settings_spec.rb fix consul timeouts 2023-08-11 17:45:40 +00:00
spec_helper.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00