MINOR: compression: rate limit in 'show info'

Show the compression rate limit 'CompressRateLim' in bytes per second on
the UNIX socket.
This commit is contained in:
William Lallemand 2012-11-19 17:26:05 +01:00 committed by Willy Tarreau
parent 8b52bb3878
commit 096f554ee1
2 changed files with 4 additions and 1 deletions

View File

@ -11175,7 +11175,8 @@ set rate-limit connections global <value>
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,

View File

@ -1746,6 +1746,7 @@ static int stats_dump_raw_to_buffer(struct stream_interface *si)
"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 @@ static int stats_dump_raw_to_buffer(struct stream_interface *si)
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:""
);