Author: zwoop
Date: Mon Oct 11 23:13:32 2010
New Revision: 1021542

URL: http://svn.apache.org/viewvc?rev=1021542&view=rev
Log:
Adjust throttle to be consistent, and added a couple of useful configs to the 
default records.config.in

Modified:
    trafficserver/traffic/trunk/proxy/config/records.config.in
    trafficserver/traffic/trunk/proxy/mgmt2/RecordsConfig.cc

Modified: trafficserver/traffic/trunk/proxy/config/records.config.in
URL: 
http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/config/records.config.in?rev=1021542&r1=1021541&r2=1021542&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/config/records.config.in (original)
+++ trafficserver/traffic/trunk/proxy/config/records.config.in Mon Oct 11 
23:13:32 2010
@@ -230,6 +230,7 @@ CONFIG proxy.config.http.cache.http INT 
 CONFIG proxy.config.http.cache.ignore_client_no_cache INT 1
 CONFIG proxy.config.http.cache.ims_on_client_no_cache INT 1
 CONFIG proxy.config.http.cache.ignore_server_no_cache INT 0
+CONFIG proxy.config.http.cache.ignore_client_cc_max_age INT 0
    # cache responses to cookies has 5 options:
    #   0 - do not cache any responses to cookies
    #   1 - cache for any content-type
@@ -342,6 +343,9 @@ CONFIG proxy.config.cache.target_fragmen
 CONFIG proxy.config.cache.max_doc_size INT 0
    # enable the cache to read from an object while it is being added to the 
cache
 CONFIG proxy.config.cache.enable_read_while_writer INT 0
+   # This controls how many objects (average) the disk caches can hold, and
+   # how much memory it'll consume for the directory structure.
+CONFIG proxy.config.cache.min_average_object_size INT 8000
 ##############################################################################
 #
 # DNS

Modified: trafficserver/traffic/trunk/proxy/mgmt2/RecordsConfig.cc
URL: 
http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/mgmt2/RecordsConfig.cc?rev=1021542&r1=1021541&r2=1021542&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/mgmt2/RecordsConfig.cc (original)
+++ trafficserver/traffic/trunk/proxy/mgmt2/RecordsConfig.cc Mon Oct 11 
23:13:32 2010
@@ -1597,7 +1597,7 @@ RecordElement RecordsConfig[] = {
   //# Net Subsystem
   //#
   
//##############################################################################
-  {CONFIG, "proxy.config.net.connections_throttle", "", INK_INT, "8000", 
RU_RESTART_TS, RR_REQUIRED,
+  {CONFIG, "proxy.config.net.connections_throttle", "", INK_INT, "10000", 
RU_RESTART_TS, RR_REQUIRED,
    RC_STR, "^[0-9]+$", RA_NULL}
   ,
   {CONFIG, "proxy.config.net.throttle_enabled", "", INK_INT, "1", RU_NULL, 
RR_NULL, RC_NULL, "[0-1]", RA_NULL}


Reply via email to