1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00
juanfont.headscale/hscontrol
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
..
assets update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
db Make write-ahead-log default and configurable for sqlite (#1985) 2024-06-23 22:06:59 +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 Make write-ahead-log default and configurable for sqlite (#1985) 2024-06-23 22:06:59 +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_noise.go metrics, tuning in tests, db cleanups, fix concurrency issue (#1895) 2024-04-21 18:28:17 +02:00
auth.go update tailscale go dep (#1948) 2024-05-17 08:58:33 -04:00
grpcv1_test.go rename package name to hscontrol 2023-05-10 20:47:51 +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
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