headscale/hscontrol/types
Kristoffer Dalby 58c94d2bd3 Rework map session
This commit restructures the map session in to a struct
holding the state of what is needed during its lifetime.

For streaming sessions, the event loop is structured a
bit differently not hammering the clients with updates
but rather batching them over a short, configurable time
which should significantly improve cpu usage, and potentially
flakyness.

The use of Patch updates has been dialed back a little as
it does not look like its a 100% ready for prime time. Nodes
are now updated with full changes, except for a few things
like online status.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-04-15 12:31:53 +02:00
..
api_key.go Split code into modules 2023-05-26 12:24:50 +02:00
common.go Rework map session 2024-04-15 12:31:53 +02:00
config.go Rework map session 2024-04-15 12:31:53 +02:00
const.go fix lint 2023-06-08 16:34:15 +02:00
node_test.go Add assert func for verifying status, netmap and netcheck (#1723) 2024-02-09 07:26:41 +01:00
node.go Rework map session 2024-04-15 12:31:53 +02:00
preauth_key.go Split code into modules 2023-05-26 12:24:50 +02:00
routes_test.go ensure online status and route changes are propagated (#1564) 2023-12-09 18:09:24 +01:00
routes.go ensure online status and route changes are propagated (#1564) 2023-12-09 18:09:24 +01:00
users.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00