mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-10 01:20:58 +01:00
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. |
||
|---|---|---|
| .. | ||
| debug_test.go | ||
| debug.go | ||
| ephemeral_test.go | ||
| maprequest_test.go | ||
| maprequest.go | ||
| node_store_test.go | ||
| node_store.go | ||
| state.go | ||