headscale/hscontrol
Kristoffer Dalby 8f8f469c0a
Remove allocations of lists before use (#1989)
* policy: remove allocs before appends in acls

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* notifier: make batcher tests stable/non-flaky

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* {db,derp,mapper}: dont allocate until append

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-06-23 22:06:50 +02:00
..
assets update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
db Remove allocations of lists before use (#1989) 2024-06-23 22:06:50 +02:00
derp Remove allocations of lists before use (#1989) 2024-06-23 22:06:50 +02:00
mapper Remove allocations of lists before use (#1989) 2024-06-23 22:06:50 +02:00
notifier Remove allocations of lists before use (#1989) 2024-06-23 22:06:50 +02:00
policy Remove allocations of lists before use (#1989) 2024-06-23 22:06:50 +02:00
templates update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
types Simplify map session management (#1931) 2024-05-24 10:15:34 +02:00
util Migrate IP fields in database to dedicated columns (#1869) 2024-04-17 07:03:06 +02:00
app.go Simplify map session management (#1931) 2024-05-24 10:15:34 +02:00
auth.go update tailscale go dep (#1948) 2024-05-17 08:58:33 -04:00
auth_noise.go metrics, tuning in tests, db cleanups, fix concurrency issue (#1895) 2024-04-21 18:28:17 +02:00
grpcv1.go chore: use errors.New to replace fmt.Errorf with no parameters will much better 2024-04-21 20:23:25 +02:00
grpcv1_test.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
handlers.go Make registration screen easier to use (#1975) 2024-06-15 09:40:49 +02:00
metrics.go Simplify map session management (#1931) 2024-05-24 10:15:34 +02:00
noise.go Simplify map session management (#1931) 2024-05-24 10:15:34 +02:00
oidc.go metrics, tuning in tests, db cleanups, fix concurrency issue (#1895) 2024-04-21 18:28:17 +02:00
platform_config.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
poll.go Simplify map session management (#1931) 2024-05-24 10:15:34 +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