headscale/hscontrol/db
nadongjun 4ad3f3c484
Fix data race issues in EphemeralGarbageCollector tests (#2023)
* Fix data race issues in EphemeralGarbageCollector tests

* Add defer for mutex unlock in TestEphemeralGarbageCollectorOrder

* Fix mutex unlock order in closure by updating defer placement
2024-07-22 15:11:57 +00: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 reformat code (#2019) 2024-07-22 08:56:00 +02:00
ip_test.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
ip.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
node_test.go Fix data race issues in EphemeralGarbageCollector tests (#2023) 2024-07-22 15:11:57 +00:00
node.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
policy.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
preauth_keys_test.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
preauth_keys.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
routes_test.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
routes.go reformat code (#2019) 2024-07-22 08:56:00 +02:00
suite_test.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
users_test.go replace ephemeral deletion logic (#2008) 2024-07-18 10:01:59 +02:00
users.go more log.Error -> fmt.Errorf cleanup 2024-04-15 12:31:53 +02:00