Documentation
¶
Overview ¶
Package intelrollup materializes reusable, per-day character intelligence.
Index ¶
Constants ¶
const ( RetentionDays = 365 RepairDays = 3 RecentRefreshDelay = 5 * time.Minute HistoricalRefreshDelay = 6 * time.Hour )
Variables ¶
This section is empty.
Functions ¶
func IsDirty ¶ added in v0.1.41
IsDirty reports whether newer ingest arrived while a day was rebuilding.
func PrepareMaintenance ¶ added in v0.1.41
PrepareMaintenance marks the recent repair window dirty, removes expired facts, and returns every day whose durable marker still needs processing.
func RefreshDelay ¶ added in v0.1.94
RefreshDelay batches arrivals by UTC activity day. Historical corrections remain durable in dirty_days, but need not rebuild a whole day every five minutes. Keep yesterday responsive for kills posted across UTC midnight.
Types ¶
type Result ¶
type Result struct {
From time.Time
To time.Time
Days int64
Characters int64
Ships int64
Targets int64
}
Result describes a bounded reconciliation run.
func ProcessDirtyDay ¶ added in v0.1.41
ProcessDirtyDay rebuilds one marked day. The marker timestamp is cleared conditionally, so a concurrent killmail that advances it remains dirty and is repaired again without making ingestion wait on the rebuild.