From 4326c5e29b279ba8ca58139848aaea4e3c62fb03 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Wed, 24 Nov 2021 03:14:41 -0500 Subject: remove SimpleIni as a dependency use Glib::KeyFile instead which is basically the same file format also read into and save from struct once, cuz its faster and less redundant --- src/filecache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filecache.cpp') diff --git a/src/filecache.cpp b/src/filecache.cpp index a731750..e04fbcb 100644 --- a/src/filecache.cpp +++ b/src/filecache.cpp @@ -142,7 +142,7 @@ void FileCacheWorkerThread::loop() { m_cv.wait(lock); } - static const auto concurrency = static_cast(Abaddon::Get().GetSettings().GetCacheHTTPConcurrency()); + static const auto concurrency = static_cast(Abaddon::Get().GetSettings().CacheHTTPConcurrency); if (m_handles.size() < concurrency) { std::optional entry; m_queue_mutex.lock(); -- cgit v1.2.3