diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-09-09 23:45:39 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-09-10 18:28:33 +0100 |
commit | c9b3d45d2598ebef2df889c0b9967ef473405528 (patch) | |
tree | b99724362575e8a782bd3c2aebbd8f54b075a42b /src/ingestor.hpp | |
parent | 2eb8897706128f3590a5b4f9ee8f3e755b74f097 (diff) | |
download | webstat-c9b3d45d2598ebef2df889c0b9967ef473405528.tar.bz2 webstat-c9b3d45d2598ebef2df889c0b9967ef473405528.tar.xz webstat-c9b3d45d2598ebef2df889c0b9967ef473405528.zip |
Use curl_multi_poll in main ingestLog loop
Preparation step for having background curl operations.
Diffstat (limited to 'src/ingestor.hpp')
-rw-r--r-- | src/ingestor.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ingestor.hpp b/src/ingestor.hpp index b2a0803..d9d49a3 100644 --- a/src/ingestor.hpp +++ b/src/ingestor.hpp @@ -1,6 +1,7 @@ #pragma once #include "logTypes.hpp" +#include "uaLookup.hpp" #include <c++11Helpers.h> #include <connectionPool.h> #include <connection_fwd.h> @@ -44,5 +45,6 @@ namespace WebStat { mutable std::flat_set<Crc32Value> existingEntities; uint32_t hostnameId; DB::ConnectionPoolPtr dbpool; + CurlMultiPtr curl; }; } |