refactor: reduce the buffered blocks in sink node.

This commit is contained in:
Haojun Liao 2022-10-24 19:14:11 +08:00
parent b20e2ed5af
commit 4fe6da69f5
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ int32_t qCreateExecTask(SReadHandle* readHandle, int32_t vgId, uint64_t taskId,
goto _error;
}
SDataSinkMgtCfg cfg = {.maxDataBlockNum = 10000, .maxDataBlockNumPerQuery = 5000};
SDataSinkMgtCfg cfg = {.maxDataBlockNum = 500, .maxDataBlockNumPerQuery = 50};
code = dsDataSinkMgtInit(&cfg);
if (code != TSDB_CODE_SUCCESS) {
qError("failed to dsDataSinkMgtInit, code: %s", tstrerror(code));