Files
headscale/hscontrol
Igor Serganov a9f80d8802 hscontrol: cancel tailsql on graceful shutdown
Serve stored a Background context for tailsql and called
context.Done() during signal shutdown. Done only returns the
done channel and does not cancel, so tailsql never stopped
when Headscale shut down.

Create a cancellable child of the Serve context, run
`runTailSQLService` in the listener errgroup so its error is
surfaced, and call the cancel func on shutdown - tailsql
unblocks on ctx.Done.
2026-09-04 11:33:48 +02:00
..
2026-08-25 21:59:00 +02:00
2026-08-25 21:59:00 +02:00
2026-08-25 21:59:00 +02:00
2026-06-17 16:12:19 +02:00
2026-08-25 21:59:00 +02:00
2026-06-17 16:12:19 +02:00