Skip to main content

Module seen

Module seen 

Source
Expand description

Seen-event-id set for events poll / events stream (gh#204).

The server delivers at least once, so the same event_id can arrive twice. The newest 10,000 ids live in one file next to the config (events.seen, one id per line, oldest first). The server retries for about 6 minutes, so 10,000 ids covers every retry with a wide margin.

I/O failures never drop events: warn once on stderr, keep going with whatever is in memory (at-least-once beats losing an event).

Structsยง

SeenIds