headscale/hscontrol/db
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
..
api_key_test.go Replace the timestamp based state system 2023-09-19 10:20:21 -05:00
api_key.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
db.go remove last_successful_update error check (#1959) 2024-05-27 11:53:37 +01:00
ip_test.go Restore foreign keys and add constraints (#1562) 2024-05-15 20:40:14 -04:00
ip.go Migrate IP fields in database to dedicated columns (#1869) 2024-04-17 07:03:06 +02:00
node_test.go Fix typos (#1860) 2024-05-19 23:49:27 +02:00
node.go Remove allocations of lists before use (#1989) 2024-06-23 22:06:50 +02:00
preauth_keys_test.go Restore foreign keys and add constraints (#1562) 2024-05-15 20:40:14 -04:00
preauth_keys.go Fix typos (#1860) 2024-05-19 23:49:27 +02:00
routes_test.go Restore foreign keys and add constraints (#1562) 2024-05-15 20:40:14 -04:00
routes.go Remove allocations of lists before use (#1989) 2024-06-23 22:06:50 +02:00
suite_test.go new IP allocator and add postgres to integration tests. (#1756) 2024-02-18 19:31:29 +01:00
users_test.go Restore foreign keys and add constraints (#1562) 2024-05-15 20:40:14 -04:00
users.go more log.Error -> fmt.Errorf cleanup 2024-04-15 12:31:53 +02:00