summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2024-11-15 13:31:35 -0800
committerBrad Fitzpatrick <brad@danga.com>2024-11-18 10:50:30 -0800
commit93db50356536e89b70e5ca7650ab2abd36444fd2 (patch)
tree17f7b7f07475cfd882792b2ce0f4f66e7f3873ea /control/controlhttp/controlhttpserver
parentc2a7f17f2b378897f4545ad6f43891f150423487 (diff)
downloadtailscale-93db50356536e89b70e5ca7650ab2abd36444fd2.tar.xz
tailscale-93db50356536e89b70e5ca7650ab2abd36444fd2.zip
ipn/ipnlocal: add IPN Bus NotifyRateLimit watch bit NotifyRateLimit
Limit spamming GUIs with boring updates to once in 3 seconds, unless the notification is relatively interesting and the GUI should update immediately. This is basically @barnstar's #14119 but with the logic moved to be per-watch-session (since the bit is per session), rather than globally. And this distinguishes notable Notify messages (such as state changes) and makes them send immediately. Updates tailscale/corp#24553 Change-Id: I79cac52cce85280ce351e65e76ea11e107b00b49 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions