INTERNALS.md in consul-templaterb-1.25.2 vs INTERNALS.md in consul-templaterb-1.26.0
- old
+ new
@@ -10,9 +10,11 @@
Consul also exposes some specific endpoints to get some discovery specific endpoints (eg: `/v1/catalog/services` to get
the list of services registered in the cluster).
For each endpoint, `consul-templaterb` performs a watch by getting information about the last transaction on this endpoints, storing it locally and watching at Consul to get updates about the data within this endpoint.
+![Main Loop](docs/images/consul-templaterb.svg)
+
## How it works
There is a loop in the engine, every second, all templates are rendered using the `ERB` template engine.
Each template is assigned to a `ConsulTemplateRender` object that keeps tracks of changes on disk of template (in order
\ No newline at end of file