diff options
Diffstat (limited to 'server/cmd')
| -rw-r--r-- | server/cmd/listend/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/cmd/listend/main.go b/server/cmd/listend/main.go index 524f438..c500a63 100644 --- a/server/cmd/listend/main.go +++ b/server/cmd/listend/main.go @@ -83,6 +83,10 @@ func main() { worker.save() worker.wake() }, + // Same reasoning, one step smaller: a label is a tap the listener made once, and it + // should not sit in memory until the end of a poll cycle. No wake -- nothing acts on a + // label yet, it is corpus for the signature library. + OnLabels: worker.save, }) ctx, stop := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM) |
