set limit on how large of a resultset Clark will build graphs for
authorGalen Charlton <gmc@esilibrary.com>
Fri, 20 Mar 2015 20:33:39 +0000 (20:33 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 20 Mar 2015 20:33:39 +0000 (20:33 +0000)
commit333b00f78f54981b8ef9274ab25ace0619b4ef51
treed62cf2a9d4a9556623056efc32164d89a7c0ef4b
parent2acd1c2b02d8db80e394fa1a204018a3422caa0c
set limit on how large of a resultset Clark will build graphs for

Attempting to draw a bar chart on a 50,000-row result set
can consuming system resources for no particular purpose, so
by default Clark Kent will now refuse to generate a bar, pie, or line
chart if the resultset has more than 1,000 rows.  That limit
can be adjusted using a new command-line paramter for clark-kent.pl,
--max-rows-for-charts.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/reporter/clark-kent.pl