headscale/hscontrol/mapper
Kristoffer Dalby 57a38b5678 mapper/batcher: reduce hot-path log verbosity
Remove Caller(), channel pointer formatting (fmt.Sprintf("%p",...)),
and mutex timing from send(), addConnection(), and
removeConnectionByChannel(). Move per-broadcast summary and
no-connection logs from Debug to Trace. Remove per-connection
"attempting"/"succeeded" logs entirely; keep Warn for failures.

These methods run on every MapResponse delivery, so the savings
compound quickly under load.

Updates #2545
2026-03-14 02:52:28 -07:00
..
batcher.go mapper/batcher: reduce hot-path log verbosity 2026-03-14 02:52:28 -07:00
batcher_bench_test.go mapper: remove Batcher interface, rename to Batcher struct 2026-03-14 02:52:28 -07:00
batcher_concurrency_test.go mapper: remove Batcher interface, rename to Batcher struct 2026-03-14 02:52:28 -07:00
batcher_scale_bench_test.go mapper/batcher: add scale benchmarks 2026-03-14 02:52:28 -07:00
batcher_test.go mapper: remove Batcher interface, rename to Batcher struct 2026-03-14 02:52:28 -07:00
batcher_unit_test.go mapper/batcher: add unit tests and benchmarks 2026-03-14 02:52:28 -07:00
builder.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
builder_test.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
mapper.go mapper: remove Batcher interface, rename to Batcher struct 2026-03-14 02:52:28 -07:00
mapper_test.go all: upgrade to Go 1.26rc2 and modernize codebase 2026-02-08 12:35:23 +01:00
tail_test.go all: upgrade to Go 1.26rc2 and modernize codebase 2026-02-08 12:35:23 +01:00