fix(tsdb/cache): use 5M cache for block index instead of 1M

This commit is contained in:
Minglei Jin 2023-02-06 14:18:49 +08:00
parent 023b8377fb
commit a6d52aed4f
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
static int32_t tsdbOpenBICache(STsdb *pTsdb) {
int32_t code = 0;
SLRUCache *pCache = taosLRUCacheInit(1 * 1024 * 1024, -1, .5);
SLRUCache *pCache = taosLRUCacheInit(5 * 1024 * 1024, -1, .5);
if (pCache == NULL) {
code = TSDB_CODE_OUT_OF_MEMORY;
goto _err;