From c97a90f77d0bf871c333e8e0ce593029021da45a Mon Sep 17 00:00:00 2001 From: barter-simsum Date: Wed, 13 Mar 2024 13:10:18 -0400 Subject: [PATCH] pma: fix PMA_GROW_SIZE_p --- rust/ares_pma/c-src/btree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/ares_pma/c-src/btree.c b/rust/ares_pma/c-src/btree.c index 2b8b46a..64b2513 100644 --- a/rust/ares_pma/c-src/btree.c +++ b/rust/ares_pma/c-src/btree.c @@ -122,7 +122,7 @@ off2addr(vaof_t off) #define BT_NUMMETAS 2 /* 2 metapages */ #define BT_META_SECTION_WIDTH (BT_NUMMETAS * BT_PAGESIZE) #define BT_ADDRSIZE (BT_PAGESIZE << BT_PAGEWORD) -#define PMA_GROW_SIZE_p (10000000) +#define PMA_GROW_SIZE_p (1024) #define PMA_GROW_SIZE_b (BT_PAGESIZE * PMA_GROW_SIZE_p) #define BT_NOPAGE 0