1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-11-10 01:20:58 +01:00
juanfont.headscale/hscontrol/state
Kristoffer Dalby 63986e60f2
state: detect and return specific change types
Detect when only endpoints or DERP region changed and return
specific change types instead of generic NodeAdded. This allows
the batcher to send lightweight PeerChangedPatch responses.

When both endpoint and DERP change together, prioritize endpoint
change type. The batcher will include both in the patch response.

Also fix NodeOnline/NodeOffline calls to pass NodeView.
2025-11-05 15:36:03 +01:00
..
debug_test.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
debug.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
ephemeral_test.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
maprequest_test.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
maprequest.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
node_store_test.go stability and race conditions in auth and node store (#2781) 2025-10-16 12:17:43 +02:00
node_store.go policy: fix autogroup:self propagation and optimize cache invalidation (#2807) 2025-10-23 17:57:41 +02:00
state.go state: detect and return specific change types 2025-11-05 15:36:03 +01:00