Commit Graph
9 Commits
Author SHA1 Message Date
riccardom 0206e318d1 Prevents engine not stopping within 10 secs from being paired by another instance
We instead juts SKIP updating the policy, so
1. the MDM ticker will kick in 1 minute time,
2. find the policy misaligned,
3. enter the onMDMPolicyChange,
4. find the s.clientRunning == true
   (because it is set to false only in server cleanupConnection,
   and not by s.actCancel())
5. call s.actCancel() again if not nil
6. immediately return from <-s.clientGiveUpChan
7. finally call s.restartEngineForMDMLocked()
2026-06-11 12:50:58 +02:00
riccardom aac109f47f Addresses github comments 2026-06-10 16:00:23 +02:00
riccardom 98e304044c Moves test helper at te very bottom 2026-06-10 16:00:23 +02:00
riccardom a400186124 Renaming fix 2026-06-10 09:30:43 +02:00
riccardom 5b02246f4f Partial revert coderabbit added docstrings 2026-06-10 09:07:36 +02:00
riccardom bd9fed41ad Add docstrings to mdm_integration 2026-06-09 19:45:47 +02:00
riccardom d806f25b33 CI fixes
- Add docstrings to `mdm_integration`
- refactor for cognitive complexity
- mod tidy
2026-06-09 12:15:49 +02:00
riccardom b09a07023a Tests MDM config reload via ticker 2026-06-08 18:06:02 +02:00
riccardom c36bf3a171 Adds MDM 1m diff checker & reloader 2026-06-08 18:06:02 +02:00