more code
This commit is contained in:
parent
5808280ace
commit
d48ce512f0
|
@ -281,6 +281,10 @@ int32_t tsdbConfigRepo(TSDB_REPO_T *repo, STsdbCfg *pCfg) {
|
||||||
config.totalBlocks = pCfg->totalBlocks;
|
config.totalBlocks = pCfg->totalBlocks;
|
||||||
configChanged = true;
|
configChanged = true;
|
||||||
}
|
}
|
||||||
|
if (pRCfg->cacheLastRow != pCfg->cacheLastRow) {
|
||||||
|
config.cacheLastRow = pCfg->cacheLastRow;
|
||||||
|
configChanged = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (configChanged) {
|
if (configChanged) {
|
||||||
if (tsdbSaveConfig(pRepo->rootDir, &config) < 0) {
|
if (tsdbSaveConfig(pRepo->rootDir, &config) < 0) {
|
||||||
|
|
Loading…
Reference in New Issue