You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util/syspolicy/rsop
Nick Khyl 8e5cfbe4ab 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>
1 year ago
..
change_callbacks.go util/syspolicy: add rsop package that provides access to the resultant policy 1 year ago
resultant_policy.go util/syspolicy/rsop: reduce policyReloadMinDelay and policyReloadMaxDelay when in tests 1 year ago
resultant_policy_test.go util/syspolicy/rsop: reduce policyReloadMinDelay and policyReloadMaxDelay when in tests 1 year ago
rsop.go util/syspolicy: add rsop package that provides access to the resultant policy 1 year ago
store_registration.go util/syspolicy/rsop: reduce policyReloadMinDelay and policyReloadMaxDelay when in tests 1 year ago