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-04-07 22:31:05 -04:00
2019-04-06 19:12:50 -04:00
2019-02-26 08:41:00 -05:00
2019-04-07 22:46:40 -07:00
2019-02-12 19:00:09 -05:00
2019-04-06 19:12:50 -04:00
2019-04-06 19:12:50 -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:40 -07:00
2019-04-07 22:33:38 -04:00
2019-01-28 22:22:50 -05:00
2019-01-28 22:22:50 -05:00
2019-03-19 08:24:42 -04:00
2019-04-06 20:18:10 -04:00
2019-03-28 17:33:39 -04:00
2019-03-19 09:23:12 -04:00
2019-03-18 07:54:36 -04:00
2019-03-19 08:24:42 -04:00
2019-04-07 22:46:41 -07:00
2019-04-07 22:18:30 -07:00
2019-04-06 19:12:50 -04:00
2019-04-07 23:03:01 -07:00
2019-03-19 08:24:42 -04:00
2019-04-06 21:50:56 -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-01-28 22:22:54 -05: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-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-06 19:18:06 -04:00
2019-04-06 20:19:16 -04:00
2019-04-07 00:46:15 -04:00
2019-03-05 19:45:13 -05:00
2019-04-06 19:12:50 -04:00
2019-04-06 19:12:50 -04:00