MINOR: compression: rate limit in 'show info'
Show the compression rate limit 'CompressRateLim' in bytes per second on
the UNIX socket.
diff --git a/doc/configuration.txt b/doc/configuration.txt
index 6b4b74d..94a1f22 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -11175,7 +11175,8 @@
set rate-limit http-compression global <value>
Change the maximum input compression rate, which is set by the global
'maxcomprate' setting. A value of zero disables the limitation. The value is
- passed in number of kilobytes per second.
+ passed in number of kilobytes per second. The value is available in the "show
+ info" on the line "CompressBpsRateLim" in bytes.
set table <table> key <key> data.<data_type> <value>
Create or update a stick-table entry in the table. If the key is not present,
diff --git a/src/dumpstats.c b/src/dumpstats.c
index 268bec6..32825b0 100644
--- a/src/dumpstats.c
+++ b/src/dumpstats.c
@@ -1746,6 +1746,7 @@
"MaxConnRate: %d\n"
"CompressBpsIn: %u\n"
"CompressBpsOut: %u\n"
+ "CompressBpsRateLim: %u\n"
"Tasks: %d\n"
"Run_queue: %d\n"
"Idle_pct: %d\n"
@@ -1763,6 +1764,7 @@
actconn, pipes_used, pipes_free,
read_freq_ctr(&global.conn_per_sec), global.cps_lim, global.cps_max,
read_freq_ctr(&global.comp_bps_in), read_freq_ctr(&global.comp_bps_out),
+ global.comp_rate_lim,
nb_tasks_cur, run_queue_cur, idle_pct,
global.node, global.desc?global.desc:""
);