You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/03/16 21:19:06 UTC

[trafficserver] 01/03: Make traffic_ctl limp along for now with large records.snap (#6517)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit cd6bb8b39014e4cc933cedaedd5cf3768030879e
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Mon Mar 16 15:17:32 2020 -0600

    Make traffic_ctl limp along for now with large records.snap (#6517)
    
    (cherry picked from commit 26887c088c15287a2b159b29dacae7f0b79d5ce7)
---
 src/traffic_ctl/traffic_ctl.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/traffic_ctl/traffic_ctl.cc b/src/traffic_ctl/traffic_ctl.cc
index f8908ab..33b363e 100644
--- a/src/traffic_ctl/traffic_ctl.cc
+++ b/src/traffic_ctl/traffic_ctl.cc
@@ -275,6 +275,9 @@ main(int argc, const char **argv)
 
   argparser_runroot_handler(engine.arguments.get("--run-root").value(), argv[0]);
   Layout::create();
+
+  // This is a little bit of a hack, for now it'll suffice.
+  max_records_entries = 262144;
   RecProcessInit(RECM_STAND_ALONE, diags);
   LibRecordsConfigInit();