refactor: increase the initial buffer size.

This commit is contained in:
Haojun Liao 2022-11-14 14:37:28 +08:00
parent 618b4ab881
commit c35f668c17
1 changed files with 1 additions and 1 deletions

View File

@ -1770,7 +1770,7 @@ STableListInfo* tableListCreate() {
goto _error; goto _error;
} }
pListInfo->map = taosHashInit(32, taosGetDefaultHashFunction(TSDB_DATA_TYPE_BIGINT), false, HASH_ENTRY_LOCK); pListInfo->map = taosHashInit(1024, taosGetDefaultHashFunction(TSDB_DATA_TYPE_BIGINT), false, HASH_ENTRY_LOCK);
if (pListInfo->map == NULL) { if (pListInfo->map == NULL) {
goto _error; goto _error;
} }