From dbcc831b828fcf1279487097656dabba7a598cf2 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Tue, 10 Dec 2024 14:49:12 -0700 Subject: [PATCH] simple_policy: tweak my test config for more throughput --- simple_policy.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/simple_policy.lua b/simple_policy.lua index 1118bc92..d35e524a 100644 --- a/simple_policy.lua +++ b/simple_policy.lua @@ -26,7 +26,7 @@ kumo.on( local shaper = shaping:setup_with_automation { no_default_files = true, - extra_files = { 'assets/policy-extras/shaping.toml' }, + -- extra_files = { 'assets/policy-extras/shaping.toml' }, } local sources = require 'policy-extras.sources' @@ -250,8 +250,8 @@ local function common_processing(msg) -- then remove that header from the message msg:import_scheduling_header('X-Schedule', true) - msg:set_meta('tenant', 't' .. tostring(math.random(1000))) - msg:set_meta('campaign', 'c' .. tostring(math.random(1000))) + -- msg:set_meta('tenant', 't' .. tostring(math.random(1000))) + -- msg:set_meta('campaign', 'c' .. tostring(math.random(1000))) local do_signing = true if do_signing then