[libhttpseverywhere] context: increase cache size to 100



commit 53ac5f7eaefb6d8a236e2f29f6127c59a713a17d
Author: grindhold <grindhold gmx net>
Date:   Wed Dec 21 09:51:59 2016 +0100

    context: increase cache size to 100

 src/context.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/context.vala b/src/context.vala
index ac31b8b..3682183 100644
--- a/src/context.vala
+++ b/src/context.vala
@@ -41,7 +41,7 @@ namespace HTTPSEverywhere {
 
         // Cache for recently used targets
         private Gee.ArrayList<Target> cache;
-        private const int CACHE_SIZE = 20;
+        private const int CACHE_SIZE = 100;
 
         /**
          * Indicates whether the library has been successfully


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]