diff options
| author | Will Norris <will@tailscale.com> | 2024-05-03 15:22:01 -0700 |
|---|---|---|
| committer | Will Norris <will@willnorris.com> | 2024-05-03 15:36:14 -0700 |
| commit | 46980c9664c649c9fcb4a5ce4cb2991ffa432417 (patch) | |
| tree | fb84e1039b589ac23eb86a09843a5a21c305509b /control/controlknobs | |
| parent | 817badf9ca95e081626d034911c772ce2070955f (diff) | |
| download | tailscale-46980c9664c649c9fcb4a5ce4cb2991ffa432417.tar.xz tailscale-46980c9664c649c9fcb4a5ce4cb2991ffa432417.zip | |
tsweb: ensure in-flight requests are always marked as finished
The inflight request tracker only starts recording a new bucket after
the first non-error request. Unfortunately, it's written in such a way
that ONLY successful requests are ever marked as being finished. Once a
bucket has had at least one successful request and begun to be tracked,
all subsequent error cases are never marked finished and always appear
as in-flight.
This change ensures that if a request is recorded has having been
started, we also mark it as finished at the end.
Updates tailscale/corp#19767
Signed-off-by: Will Norris <will@tailscale.com>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions
