headscale/hscontrol/policy
Kristoffer Dalby 83769ba715
Replace database locks with transactions (#1701)
This commits removes the locks used to guard data integrity for the
database and replaces them with Transactions, turns out that SQL had
a way to deal with this all along.

This reduces the complexity we had with multiple locks that might stack
or recurse (database, nofitifer, mapper). All notifications and state
updates are now triggered _after_ a database change.


Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-02-08 17:28:19 +01:00
..
matcher Finish SSH 2023-06-21 10:31:48 +02:00
acls.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
acls_test.go node selfupdate and fix subnet router when ACL is enabled (#1673) 2024-01-18 17:30:25 +01:00
acls_types.go Split code into modules 2023-05-26 12:24:50 +02:00