You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by br...@apache.org on 2014/11/11 20:52:37 UTC

trafficserver git commit: TS-3178: Maintain backwards compatability with old config

Repository: trafficserver
Updated Branches:
  refs/heads/master fcd98bf8c -> 19a81f4e2


TS-3178: Maintain backwards compatability with old config


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

Branch: refs/heads/master
Commit: 19a81f4e2e57031f26de35299ef6304c6e2fed01
Parents: fcd98bf
Author: Brian Geffon <br...@apache.org>
Authored: Tue Nov 11 11:52:27 2014 -0800
Committer: Brian Geffon <br...@apache.org>
Committed: Tue Nov 11 11:52:27 2014 -0800

----------------------------------------------------------------------
 iocore/eventsystem/EventSystem.cc | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/19a81f4e/iocore/eventsystem/EventSystem.cc
----------------------------------------------------------------------
diff --git a/iocore/eventsystem/EventSystem.cc b/iocore/eventsystem/EventSystem.cc
index d572a3e..42c91f0 100644
--- a/iocore/eventsystem/EventSystem.cc
+++ b/iocore/eventsystem/EventSystem.cc
@@ -37,7 +37,11 @@ ink_event_system_init(ModuleVersion v)
   int config_max_iobuffer_size = DEFAULT_MAX_BUFFER_SIZE;
 
   REC_EstablishStaticConfigInt32(thread_freelist_high_watermark, "proxy.config.allocator.thread_freelist_high_watermark");
+
+  // For backwards compatability make sure to allow thread_freelist_size
+  REC_EstablishStaticConfigInt32(thread_freelist_low_watermark, "proxy.config.allocator.thread_freelist_size");
   REC_EstablishStaticConfigInt32(thread_freelist_low_watermark, "proxy.config.allocator.thread_freelist_low_watermark");
+
   REC_ReadConfigInteger(config_max_iobuffer_size, "proxy.config.io.max_buffer_size");
 
   max_iobuffer_size = buffer_size_to_index(config_max_iobuffer_size, DEFAULT_BUFFER_SIZES - 1);