Bump up page size to 50.

This seems like a reasonable trade-off between speed of retrieving one page and number of pages needed to see lots of results. Many specific searches will return fewer results than this anyway.
This commit is contained in:
Stephen Heumann 2019-04-19 21:16:49 -05:00
parent c963529943
commit c7968ecb69

View File

@ -36,7 +36,7 @@ struct diskListEntry {
#define DISK_LIST_MAX_LENGTH (int)(0xFFFF/sizeof(struct diskListEntry))
/* How many results to fetch at a time */
#define PAGE_SIZE 30
#define PAGE_SIZE 50
#define MAX_PAGES ((DISK_LIST_MAX_LENGTH + PAGE_SIZE - 1) / PAGE_SIZE)