From af422b45c7fb406dae35dc3f811e50d92e854f58 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 2 May 2026 23:13:08 +0100 Subject: Start curl operations from any thread Ingest is now background only, so don't limit where they're started from. Adds some unfortunate locking around the curl maps. --- src/ingestor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ingestor.hpp') diff --git a/src/ingestor.hpp b/src/ingestor.hpp index 64b3357..81041ff 100644 --- a/src/ingestor.hpp +++ b/src/ingestor.hpp @@ -131,6 +131,6 @@ namespace WebStat { EntityId hostnameId; CurlMultiPtr curl; mutable CurlOperations curlOperations; - std::thread::id mainThread; + mutable std::mutex curlOperationsMutex; }; } -- cgit v1.3