From c7968ecb69bcd4d19adec5137fad38ccec11431c Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Fri, 19 Apr 2019 21:16:49 -0500 Subject: [PATCH] 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. --- diskbrowser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diskbrowser.h b/diskbrowser.h index 428baaa..ac8f64e 100644 --- a/diskbrowser.h +++ b/diskbrowser.h @@ -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)