khazhyk 7845bfb79b terminate iterators immediately once out of data
if len(data) < 100, either limit was less than 100, or we ran
out of results, in both cases, we should terminate the lookup.

This fixes, e.g., hangs in audit_logs(limit=999999), and will
reduce the number of fetch calls for any case where limit is
greater than the number of results. (Prior, would just kinda
loop calling audit-logs)
2019-04-07 23:03:01 -07:00
..
2018-01-26 12:46:19 -05:00
2019-02-26 08:41:00 -05:00
2019-01-28 22:22:50 -05:00
2019-03-19 08:24:42 -04:00
2019-03-19 08:24:42 -04:00
2019-01-28 22:22:50 -05:00
2019-03-19 08:24:42 -04:00
2019-03-19 08:24:42 -04:00
2019-04-07 22:46:41 -07:00
2019-03-19 08:24:42 -04:00
2019-01-28 22:22:50 -05:00
2019-03-19 08:24:42 -04:00
2019-03-19 08:24:42 -04:00
2019-03-19 08:24:42 -04:00
2019-04-06 19:18:06 -04:00
2019-03-19 08:24:42 -04:00
2019-03-19 08:24:42 -04:00
2019-03-19 08:24:42 -04:00
2019-04-06 19:18:06 -04:00
2019-04-07 00:46:15 -04:00