mirror of https://github.com/status-im/consul.git
12acdd7481
The rationale behind removing them is that all of our own code (xDS, builtin connect proxy) use the cache notification mechanism. This ensures that the blocking fetch behind the scenes is always executing. Therefore the only way you might go to get a certificate and have to wait is when 1) the request has never been made for that cert before or 2) you are using the v1/agent/connect/ca/leaf API for retrieving the cert yourself. In the first case, the refresh change doesn’t alter the behavior. In the second case, it can be mitigated by using blocking queries with that API which just like normal cache notification mechanism will cause the blocking fetch to be initiated and to get leaf certs as soon as needed. If you are not using blocking queries, or Envoy/xDS, or the builtin connect proxy but are retrieving the certs yourself then the HTTP endpoint might take a little longer to respond. This also renames the RefreshTimeout field on the register options to QueryTimeout to more accurately reflect that it is used for any type that supports blocking queries. |
||
---|---|---|
.. | ||
catalog_datacenters.go | ||
catalog_datacenters_test.go | ||
catalog_list_services.go | ||
catalog_list_services_test.go | ||
catalog_service_list.go | ||
catalog_service_list_test.go | ||
catalog_services.go | ||
catalog_services_test.go | ||
config_entry.go | ||
config_entry_test.go | ||
connect_ca_leaf.go | ||
connect_ca_leaf_oss.go | ||
connect_ca_leaf_test.go | ||
connect_ca_root.go | ||
connect_ca_root_test.go | ||
discovery_chain.go | ||
discovery_chain_test.go | ||
federation_state_list_gateways.go | ||
federation_state_list_gateways_test.go | ||
gateway_services.go | ||
gateway_services_test.go | ||
health_services.go | ||
health_services_test.go | ||
intention_match.go | ||
intention_match_test.go | ||
mock_RPC.go | ||
node_services.go | ||
node_services_test.go | ||
options.go | ||
prepared_query.go | ||
prepared_query_test.go | ||
resolved_service_config.go | ||
resolved_service_config_test.go | ||
rpc.go | ||
service_checks.go | ||
service_checks_test.go | ||
service_dump.go | ||
service_dump_test.go | ||
testing.go |