commit 0b8569794e724280481d27596552b95c79f19faa
parent b86f68b083f4451754b87023d452e84da11c698c
Author: Andrew Laack <andrew@laack.co>
Date: Sun, 27 Sep 2026 20:30:35 -0500
Revert accidental constant change
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/shared.hpp b/include/shared.hpp
@@ -4,8 +4,8 @@
const std::string DEFAULT_SEARCH_ENGINE = "gemini://tlgs.one/search?";
-const int SITE_CACHE_LIMIT = 100; // number of links to prefetch per page
-const int THREAD_NUM = 10; // thread count in thread pool for pre-fetching
+const int SITE_CACHE_LIMIT = 10; // number of links to prefetch per page
+const int THREAD_NUM = 4; // thread count in thread pool for pre-fetching
const int maxWidth = 80; // max text width (left and right will be padded if COLS > maxWidth)
const int CACHE_SIZE = 500; // max number of elements in history cache and prefetch cache (500 for both)
const int COLOR_LINK = 159; // color used for links