You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2015/04/07 22:13:31 UTC

trafficserver git commit: TS-3504: Only read "proxy.config.cache.ram_cache.use_seen_filter" once.

Repository: trafficserver
Updated Branches:
  refs/heads/master fd5c22040 -> 8d01176a9


TS-3504: Only read "proxy.config.cache.ram_cache.use_seen_filter" once.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/8d01176a
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/8d01176a
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/8d01176a

Branch: refs/heads/master
Commit: 8d01176a9a6d065fadf88ee3d79151f48c72f015
Parents: fd5c220
Author: Phil Sorber <so...@apache.org>
Authored: Tue Apr 7 14:12:55 2015 -0600
Committer: Phil Sorber <so...@apache.org>
Committed: Tue Apr 7 14:13:09 2015 -0600

----------------------------------------------------------------------
 CHANGES               | 3 +++
 iocore/cache/Cache.cc | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8d01176a/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 4503a37..5773407 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 6.0.0
 
+  *) [TS-3504] Only read "proxy.config.cache.ram_cache.use_seen_filter" once.
+    Do not set up a callback.
+
   *) [TS-3503] Add ua_first_read to milestones to track when the first byte was
     read from the client
 

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8d01176a/iocore/cache/Cache.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/Cache.cc b/iocore/cache/Cache.cc
index cf8eaec..9e9eab9 100644
--- a/iocore/cache/Cache.cc
+++ b/iocore/cache/Cache.cc
@@ -3539,7 +3539,7 @@ ink_cache_init(ModuleVersion v)
   REC_EstablishStaticConfigInt32(cache_config_ram_cache_algorithm, "proxy.config.cache.ram_cache.algorithm");
   REC_EstablishStaticConfigInt32(cache_config_ram_cache_compress, "proxy.config.cache.ram_cache.compress");
   REC_EstablishStaticConfigInt32(cache_config_ram_cache_compress_percent, "proxy.config.cache.ram_cache.compress_percent");
-  REC_EstablishStaticConfigInt32(cache_config_ram_cache_use_seen_filter, "proxy.config.cache.ram_cache.use_seen_filter");
+  REC_ReadConfigInt32(cache_config_ram_cache_use_seen_filter, "proxy.config.cache.ram_cache.use_seen_filter");
 
   REC_EstablishStaticConfigInt32(cache_config_http_max_alts, "proxy.config.cache.limits.http.max_alts");
   Debug("cache_init", "proxy.config.cache.limits.http.max_alts = %d", cache_config_http_max_alts);