headscale/hscontrol/types
Kristoffer Dalby 4a34cfc4a6
Make write-ahead-log default and configurable for sqlite (#1985)
* correctly enable WAL log for sqlite

this commit makes headscale correctly enable write-ahead-log for
sqlite and adds an option to turn it on and off.

WAL is enabled by default and should make sqlite perform a lot better,
even further eliminating the need to use postgres.

It also adds a couple of other useful defaults.

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

* update changelog

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

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-06-23 22:06:59 +02:00
..
api_key.go Split code into modules 2023-05-26 12:24:50 +02:00
common.go batch updates in notifier (#1905) 2024-04-27 10:47:39 +02:00
config.go Make write-ahead-log default and configurable for sqlite (#1985) 2024-06-23 22:06:59 +02:00
const.go improve testing of route failover logic 2024-04-15 12:31:53 +02:00
node_test.go Migrate IP fields in database to dedicated columns (#1869) 2024-04-17 07:03:06 +02:00
node.go Simplify map session management (#1931) 2024-05-24 10:15:34 +02:00
preauth_key.go Restore foreign keys and add constraints (#1562) 2024-05-15 20:40:14 -04:00
routes_test.go ensure online status and route changes are propagated (#1564) 2023-12-09 18:09:24 +01:00
routes.go ensure online status and route changes are propagated (#1564) 2023-12-09 18:09:24 +01:00
users.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00