You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many endpoints in Consul support a feature known as "blocking queries". A blocking query is used to wait for a potential change using long polling. Not all endpoints support blocking, but each endpoint uniquely documents its support for blocking queries in the documentation.
By having our watches use blocking queries on the Consul Health API, we can reduce the workload we put on the Consul agent and end up with faster response times to change.
With respect to backwards compatibility, the implementation can probably choose to ignore the existing interval field and provide a deprecation warning in the logs.
The text was updated successfully, but these errors were encountered:
From the Consul docs on blocking queries:
By having our
watches
use blocking queries on the Consul Health API, we can reduce the workload we put on the Consul agent and end up with faster response times to change.With respect to backwards compatibility, the implementation can probably choose to ignore the existing
interval
field and provide a deprecation warning in the logs.The text was updated successfully, but these errors were encountered: