1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00
juanfont.headscale/hscontrol
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
..
assets update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
db Rework map session 2024-04-15 12:31:53 +02:00
derp Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
mapper Rework map session 2024-04-15 12:31:53 +02:00
notifier Rework map session 2024-04-15 12:31:53 +02:00
policy Rework map session 2024-04-15 12:31:53 +02:00
templates update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
types Rework map session 2024-04-15 12:31:53 +02:00
util Get integration test netmap from watch-ipn command (#1729) 2024-02-18 23:22:18 +01:00
app.go Rework map session 2024-04-15 12:31:53 +02:00
auth_noise.go Remove support for non-noise clients (pre-1.32) (#1611) 2023-11-23 08:31:33 +01:00
auth.go Rework map session 2024-04-15 12:31:53 +02:00
grpcv1_test.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
grpcv1.go Rework map session 2024-04-15 12:31:53 +02:00
handlers.go Rework map session 2024-04-15 12:31:53 +02:00
metrics.go Rename Machine to Node (#1553) 2023-09-24 06:42:05 -05:00
noise.go Rework map session 2024-04-15 12:31:53 +02:00
oidc.go Rework map session 2024-04-15 12:31:53 +02:00
platform_config.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
poll.go Rework map session 2024-04-15 12:31:53 +02:00
suite_test.go new IP allocator and add postgres to integration tests. (#1756) 2024-02-18 19:31:29 +01:00
tailsql.go Use result of fmt.Errorf call (#1668) 2024-02-15 11:02:54 +01:00