diff --git a/backend/src/north/north-connector.ts b/backend/src/north/north-connector.ts index 7bda9f391d..2dae3b6816 100644 --- a/backend/src/north/north-connector.ts +++ b/backend/src/north/north-connector.ts @@ -382,7 +382,7 @@ export default class NorthConnector { const chunkSize = this.connector.caching.maxSendCount; for (let i = 0; i < values.length; i += chunkSize) { const chunk = values.slice(i, i + chunkSize); - this.logger.debug(`Caching ${values.length} values (cache size: ${Math.floor((this.cacheSize / 1024 / 1024) * 100) / 100} MB)`); + this.logger.debug(`Caching ${chunk.length} values (cache size: ${Math.floor((this.cacheSize / 1024 / 1024) * 100) / 100} MB)`); await this.valueCacheService.cacheValues(chunk); } }