From 0c9ac579e5c812a3b413377fac8179c6b7f52019 Mon Sep 17 00:00:00 2001 From: kanoi Date: Fri, 21 Nov 2014 10:37:48 +1100 Subject: [PATCH] ckdb - reduce transfer cull to compensate for the alloc increase --- src/ckdb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ckdb.h b/src/ckdb.h index ef97eb84..47c1b9cc 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -52,7 +52,7 @@ #define DB_VLOCK "1" #define DB_VERSION "0.9.5" -#define CKDB_VERSION DB_VERSION"-0.651" +#define CKDB_VERSION DB_VERSION"-0.652" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ @@ -624,7 +624,7 @@ typedef struct transfer { // Suggest malloc use MMAP - 1913 = largest under 2MB #define ALLOC_TRANSFER 1913 #define LIMIT_TRANSFER 0 -#define CULL_TRANSFER 1024 +#define CULL_TRANSFER 16 #define INIT_TRANSFER(_item) INIT_GENERIC(_item, transfer) #define DATA_TRANSFER(_var, _item) DATA_GENERIC(_var, _item, transfer, true)