summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorJames Tucker <james@tailscale.com>2025-11-07 17:43:39 -0800
committerJames Tucker <james@tailscale.com>2025-11-07 19:53:35 -0800
commit55b4993256c647e7ed8b4845849d187bb8f49a62 (patch)
tree3758ae58bebb3c7bb8cfce9e222763e18ba56d7d /control/controlhttp/controlhttpserver/controlhttpserver.go
parent5b40f0bc547701f461605a418d49a20a0edc9f8b (diff)
downloadtailscale-55b4993256c647e7ed8b4845849d187bb8f49a62.tar.xz
tailscale-55b4993256c647e7ed8b4845849d187bb8f49a62.zip
util/latencyqueue: add a bounded-latency queue
Sometimes you do not know how many elements are resasonable, but you do know how stale elements can be at maximum, for example when streaming optimistic synchronization data. latencyqueue provides a primitive that makes it easier to keep such an unbounded queue, but abort and drop the queue if the consumer is not able to keep up with the desired bound. Updates tailscale/corp#34129 Signed-off-by: James Tucker <james@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions