From b9538c693b34a6382ea9f3b985bb922b9c17f12e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 15 Oct 2025 23:24:32 +0100 Subject: Refactor handling of new entity insert Replaces weird select with one thing with a function pointer stored in the type definition array. --- src/ingestor.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ingestor.hpp') diff --git a/src/ingestor.hpp b/src/ingestor.hpp index 8be7360..3e25938 100644 --- a/src/ingestor.hpp +++ b/src/ingestor.hpp @@ -71,6 +71,7 @@ namespace WebStat { NewEntityIds storeEntities(DB::Connection *, std::span>) const; using NewEntities = std::array, MAX_NEW_ENTITIES>; template NewEntities newEntities(const std::tuple &) const; + void onNewUserAgent(const Entity &) const; void handleCurlOperations(); void jobIngestParkedLine(const std::filesystem::directory_iterator &); -- cgit v1.2.3