summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorNick Khyl <nickk@tailscale.com>2024-11-22 09:05:01 -0600
committerNick Khyl <1761190+nickkhyl@users.noreply.github.com>2024-11-22 09:51:21 -0600
commit8e5cfbe4ab11713e383b3ff0d978f116320de2a3 (patch)
tree0bdf1239ded2015b2bfbdeae6dfd801949eec40d /control/controlhttp/controlhttpserver/controlhttpserver.go
parent462e1fc503fa2c26d8ff1a70a641ebb835ac9f8f (diff)
downloadtailscale-8e5cfbe4ab11713e383b3ff0d978f116320de2a3.tar.xz
tailscale-8e5cfbe4ab11713e383b3ff0d978f116320de2a3.zip
util/syspolicy/rsop: reduce policyReloadMinDelay and policyReloadMaxDelay when in tests
These delays determine how soon syspolicy change callbacks are invoked after a policy setting is updated in a policy source. For tests, we shorten these delays to minimize unnecessary wait times. This adjustment only affects tests that subscribe to policy change notifications and modify policy settings after they have already been set. Initial policy settings are always available immediately without delay. Updates #12687 Signed-off-by: Nick Khyl <nickk@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions