Tests MDM config reload via ticker

This commit is contained in:
riccardom
2026-06-08 18:06:02 +02:00
parent 61b5b6b1a1
commit b09a07023a
3 changed files with 137 additions and 15 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ func (s *Server) Start() error {
// applies the freshly-read MDM policy as the last layer) and brings
// the engine back with the new values.
if s.mdmTicker == nil {
s.mdmTicker = mdm.NewTicker(mdm.DefaultReloadInterval, s.onMDMPolicyChange)
s.mdmTicker = mdm.NewTicker(s.onMDMPolicyChange)
go s.mdmTicker.Run(s.rootCtx)
}