From d9a1e45f4594e60ae1b670c53cda2ccc107bb72b Mon Sep 17 00:00:00 2001 From: Vyacheslav Karbovnichy Date: Mon, 2 Apr 2018 14:57:04 +0400 Subject: [PATCH] website: Add description what the "recent events" means According to this answer on SO https://stackoverflow.com/a/49495985/1875339 that has references to code lines: https://github.com/hashicorp/consul/blob/94835a2715892f48ffa9f81a9a32808d544b1ca5/agent/agent.go#L221 https://github.com/hashicorp/consul/blob/94835a2715892f48ffa9f81a9a32808d544b1ca5/agent/user_event.go#L229 https://github.com/hashicorp/consul/blob/94835a2715892f48ffa9f81a9a32808d544b1ca5/agent/user_event.go#L235 --- website/source/api/event.html.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/api/event.html.md b/website/source/api/event.html.md index b60b4daa5..f77c7ba71 100644 --- a/website/source/api/event.html.md +++ b/website/source/api/event.html.md @@ -85,7 +85,7 @@ $ curl \ ## List Events -This endpoint returns the most recent events known by the agent. As a +This endpoint returns the most recent events (up to 256) known by the agent. As a consequence of how the [event command](/docs/commands/event.html) works, each agent may have a different view of the events. Events are broadcast using the [gossip protocol](/docs/internals/gossip.html), so they have no global ordering