mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
- Don't bother retrying if we got 0 results for our histogram.
This commit is contained in:
parent
782ab1b04c
commit
3b6ae5bd9d
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
|||
*
|
||||
* This queries the backend several times, but should be reasonably
|
||||
* speedy as this behaves roughly as a binary search. */
|
||||
if (flot_data.length < 6 && tries > 0) {
|
||||
if (flot_data.length < 6 && flot_data.length > 0 && tries > 0) {
|
||||
//console.log("Histogram bucket " + logstash.params.interval + " has only " + flot_data.length + " data points, trying smaller...");
|
||||
logstash.params.interval /= 2;
|
||||
if (logstash.params.interval < 1000) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue