Checkpoint
Some checks failed
Test and build / Test and lint (push) Failing after 36s
Test and build / Build collector (push) Failing after 43s
Test and build / Build receiver (push) Failing after 42s

This commit is contained in:
2026-03-05 15:38:18 +01:00
parent 3106b2cf45
commit 13afa08e8a
108 changed files with 19509 additions and 729 deletions

View File

@@ -64,7 +64,6 @@ func run(ctx context.Context, command *cli.Command) error {
if err != nil {
return err
}
defer collector.Close()
broker, err := hamview.NewBroker(&config.Broker)
if err != nil {
@@ -79,7 +78,11 @@ func run(ctx context.Context, command *cli.Command) error {
protocol.APRS,
protocol.MeshCore,
} {
go collector.Collect(broker, proto+"/packet")
go func() {
if err := collector.Collect(broker, proto+"/packet/+"); err != nil {
logger.Fatalf("Error collecting %s packets: %v", proto, err)
}
}()
}
return cmd.WaitForInterrupt(logger, "collector")